Page MenuHomePhabricator

Script rebuildtextindex.php should support PostgreSQL
Closed, InvalidPublic


Author: mediawiki-bugzilla

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'@''
(using password: YES) (

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 = "";
$wgDBname = "<mydbname>";
$wgDBuser = "<myuser";
$wgDBpassword = "<mypwd>";
$wgDBport = "5432";
$wgDBprefix = "";

What could I do?

mfg zmi

Version: 1.8.x
Severity: normal
OS: Linux
Platform: PC



Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:41 PM
bzimport set Reference to bz9905.
bzimport added a subscriber: Unknown Object (MLST).

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).

Closing: no script is needed to rebuild the full text indexes on Postgres, it's
all trigger based. (Thanks for the r22172 change though).

Change 263142 had a related patch set uploaded (by Mhutti1):
Fixed verification-error due to incorrect timeout handling

Jdforrester-WMF subscribed.

Migrating from the old tracking task to a tag for PostgreSQL-related tasks.