Last modified: 2010-05-15 15:32:57 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 2023 - utf8 charset causes max key length exceeded
utf8 charset causes max key length exceeded
Status: RESOLVED DUPLICATE of bug 1322
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
PC Windows XP
: Highest blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-04-30 11:46 UTC by lqs
Modified: 2010-05-15 15:32 UTC (History)
0 users

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


Description lqs 2005-04-30 11:46:55 UTC
I'm trying to install MediaWiki 1.4.3 on my computer. I use PHP 5.0.4 and MySQL 
4.1.11. I want my MediaWiki supporting Unicode.

When I was installing MediaWiki, there was an error:

Creating tables...Query "CREATE TABLE categorylinks ( cl_from int(8) unsigned NOT 
NULL default '0', cl_to varchar(255) binary NOT NULL default '', cl_sortkey varchar
(255) binary NOT NULL default '', cl_timestamp timestamp NOT NULL, UNIQUE KEY cl_from
(cl_from,cl_to), KEY cl_sortkey(cl_to,cl_sortkey(128)), KEY cl_timestamp
(cl_to,cl_timestamp) )" failed with error code "Specified key was too long; max key 
length is 1024 bytes". 

This happens if I created the database with utf8 charset. There's no error when i 
recreate the datebase with Latin1 or GBK(Chinese) charset, but there will be no 
Unicode support.

What can I do to install MediaWiki with Unicode support?
Comment 1 Michael Keppler 2005-04-30 12:42:27 UTC

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

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