Last modified: 2010-05-15 15:42:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9905 - Script rebuildtextindex.php should support PostgreSQL
Script rebuildtextindex.php should support PostgreSQL
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.8.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://wiki.toetschinger.at/
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2007-05-14 09:31 UTC by Michael Monnerie
Modified: 2010-05-15 15:42 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael Monnerie 2007-05-14 09:31:58 UTC
I'm new to MediaWiki, so sorry if this is nonsense. I wanted to run the 
commandline script maintenance/rebuildtextindex.php but this gives me:

# php maintenance/rebuildtextindex.php
DB connection error: Access denied for user 'mw_toetschat'@'websrv1.zmi.at' 
(using password: YES) (db1.zmi.at)

Sniffing told me there's a connect to 3306, which is MySQL, but I'm using 
PostgreSQL here. As the MediaWiki in general works, it seems there's a bug 
somewhere. I'm not a hacker, so I can't find out where's the problem.

Part of my LocalSettings.php:
$wgDBtype           = "postgres";
$wgDBserver         = "db1.zmi.at";
$wgDBname           = "<mydbname>";
$wgDBuser           = "<myuser";
$wgDBpassword       = "<mypwd>";
$wgDBport           = "5432";
$wgDBprefix         = "";

What could I do?

mfg zmi
Comment 1 Antoine "hashar" Musso (WMF) 2007-05-14 20:26:29 UTC
This script is only for MySQL full text search system made it clear
with r22172.

Changing subject and marking as blocking bug 384 (postgres tracking).
Comment 2 Greg Sabino Mullane 2007-05-14 23:42:54 UTC
Closing: no script is needed to rebuild the full text indexes on Postgres, it's
all trigger based. (Thanks for the r22172 change though).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links