Last modified: 2010-05-15 15:32:57 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 T4023, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
1.4.x
PC Windows XP
: Highest blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links