Last modified: 2006-10-31 13:33:37 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 7689 - ERROR: syntax error at or near "NULL" during install on PostgresSQL
ERROR: syntax error at or near "NULL" during install on PostgresSQL
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.9.x
Other All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2006-10-25 09:16 UTC by Marcin Mikołajczak
Modified: 2006-10-31 13:33 UTC (History)
1 user (show)

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


Attachments

Description Marcin Mikołajczak 2006-10-25 09:16:05 UTC
There seems to be a problem with reading the wiki database user's 
password from the config.php form into the global variable $wgDBpass, 
which stops the install with the error "ERROR:  syntax error at or near 
"NULL"" in the wiki database user creation phase. The variable is empty, 
which in combination with addQuote causes the query "CREATE USER wikiuser 
(...) PASSWORD NULL" to be executed. Didn't have time to investigate 
further, unfortunately.
Comment 1 Greg Sabino Mullane 2006-10-31 13:33:37 UTC
Thanks for the report. Looks like include/DatabasePostgres.php had the wrong var
name : change $wgDBpass to $wgDBpassword in two places within that file and you
should be good. Fixed in r17323.

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


Navigation
Links