Last modified: 2010-05-15 15:42:44 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 8353 - Install on mysql v5 with Experimental MySQL 4.1/5.0 UTF-8
Install on mysql v5 with Experimental MySQL 4.1/5.0 UTF-8
Status: RESOLVED DUPLICATE of bug 6737
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.8.x
PC FreeBSD
: Low trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-22 07:34 UTC by Sergey Homenkow
Modified: 2010-05-15 15:42 UTC (History)
0 users

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


Attachments

Description Sergey Homenkow 2006-12-22 07:34:04 UTC
I install MediaWiki v1.8.2 on MySQL v5.0.27 with 
option "Experimental MySQL 4.1/5.0 UTF-8" enabled and have error:

ERROR 1089 (HY000): 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 keys

on query:
CREATE TABLE ipblocks (
...
  ipb_address varchar(40) binary NOT NULL default '',
...
  UNIQUE INDEX ipb_address (ipb_address(255), ipb_user, ipb_auto, ipb_anon_only),
...
)

Fix:
change maintenance/mysql5/tables.sql from
  UNIQUE INDEX ipb_address (ipb_address(255), ipb_user, ipb_auto, ipb_anon_only),
to
  UNIQUE INDEX ipb_address (ipb_address(40), ipb_user, ipb_auto, ipb_anon_only),
Comment 1 Brion Vibber 2006-12-22 17:56:22 UTC

*** This bug has been marked as a duplicate of 6737 ***

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


Navigation
Links