Alternative way of creating indexes

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
patrickc
Posts: 3
Joined: Tue Jan 01, 2008 11:09 pm

Alternative way of creating indexes

Post by patrickc »

Hello,

after trying to install S9Y, there was an error message saying that the indexes in the MySQL database could not be created because of a permission problem.

After looking at phpMyAdmin, I noticed that it was possible to create indexes using the ALTER TABLE command. Would that be an option for future versions of S9Y to use this command?

Regards
Patrick
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Alternative way of creating indexes

Post by garvinhicking »

Hi!

That ALTER TABLE is really a strange workaround. Since the MYSQL files are used for pgsql in most cases (which does not support that syntaX) it would mean some trouble to alter all files and introduce new ones just for pgsql.

IMHO the better way is to fix the permission setup on the database.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply