Last modified: 2010-05-15 15:42:48 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 T10142, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8142 - Installation Errors: MySQL5 Query Empty errors on XP/PHP5.2
Installation Errors: MySQL5 Query Empty errors on XP/PHP5.2
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.8.x
PC Windows XP
: High critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-03 23:40 UTC by John Crowley
Modified: 2010-05-15 15:42 UTC (History)
0 users

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


Attachments

Description John Crowley 2006-12-03 23:40:13 UTC
Summary: Installation fails on WinXP/Apache2.2.2/MySQL5.0.22/PHP5.2.0-dev due to
two bugs:

1. Query Empty errors: Installation proceeds correctly to the "Creating
tables..." on config/index.php (805). The first query for creating table user
fails with a "Query was empty" error. Commenting out lines 615-619 in
Database.php removes the problem.

2. ipblocks Table Incorrect Sub Part Key Length: After commenting out the
logging function in database.php in #1 above, the installation fails again when
creating the ipblocks table. The MySQL error returned is "Incorrect sub part
key; the used key part isn't a string, the used length is longer than the key
part, or the storage engine doesn't support unique sub key.". Line 606 in
mysql5/tables.sql specifies a length of 255 for ipb_address, which is defined as
length 40 in line 568. Changing line 605 to length of 40 eliminates the error. 

Installation proceeded correctly from this point forward.
Comment 1 Brion Vibber 2007-01-15 22:35:41 UTC
Does this problem still occur with 1.9.0?
Comment 2 Brion Vibber 2007-06-27 15:49:22 UTC
No response in a long time, assuming these are working in the latest versions
with updates to the installer and table defs.

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


Navigation
Links