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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11905, the corresponding Phabricator task for complete and up-to-date bug report information.
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