[Pkg-mediawiki-devel] Bug#398262: mediawiki1.7: enable search indexes.

Dan Jacobson jidanni at jidanni.org
Sun Nov 12 17:58:58 CET 2006


Package: mediawiki1.7
Version: 1.7.1-1
Severity: normal

Document how one is to turn on the search indexes.
And/or please provide cron scripts to do so.

Tried:
cd /var/lib/mediawiki1.7/maintenance && php updateSearchIndex.php -s 20060106052231
Updating searchindex between 20060106052231 and 20061107054054
   --- Waiting for lock ---A database query syntax error has occurred.
The last attempted database query was:
"(SQL query hidden)"
from within function "".
MySQL returned error "1044: Access denied for user 'wikiuser'@'localhost' to database 'wikidb' (localhost)"

cd /var/lib/mediawiki1.7/maintenance && php rebuildtextindex.php
Dropping index...
A database query syntax error has occurred.
The last attempted database query was:
"(SQL query hidden)"
from within function "dropTextIndex".
MySQL returned error "1142: ALTER command denied to user 'wikiuser'@'localhost' for table 'searchindex' (localhost)"

Yes, AdminSettings.php is getting read.




More information about the Pkg-mediawiki-devel mailing list