Page MenuHomePhabricator

Script rebuildtextindex.php should support PostgreSQL
Closed, InvalidPublic

Description

Author: mediawiki-bugzilla

Description:
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


Version: 1.8.x
Severity: normal
OS: Linux
Platform: PC
URL: http://wiki.toetschinger.at/

Details

Reference
bz9905

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.
StatusSubtypeAssignedTask
InvalidNone
InvalidNone

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

https://gerrit.wikimedia.org/r/263142

Jdforrester-WMF subscribed.

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