Last modified: 2008-10-10 18:01:26 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 T17931, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15931 - error when updating database
error when updating database
Status: RESOLVED DUPLICATE of bug 1322
Product: MediaWiki extensions
Classification: Unclassified
CodeReview (Other open bugs)
unspecified
All All
: Normal critical (vote)
: ---
Assigned To: Aaron Schulz
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-10 16:38 UTC by Bertrand GRONDIN
Modified: 2008-10-10 18:01 UTC (History)
1 user (show)

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


Attachments

Description Bertrand GRONDIN 2008-10-10 16:38:56 UTC
when creating the /*prefix*/code_authors table, I'm the following error message

CREATE TABLE gdncode_authors (
  -- Repository ID
  ca_repo_id int not null,

  -- "Native" author name in the repo
  ca_author varchar(255) binary,

  -- Local wiki username, if any, to tie the edits to instead
  -- Using a username instead of ID so we don't have to worry
  -- about SUL accounts which haven't been copied over.
  ca_user_text varchar(255) binary,

  primary key (ca_repo_id, ca_author),

  -- Note that multiple authors on the same repo may point to
  -- a single local user in some cases...
  unique key (ca_user_text, ca_repo_id, ca_author)
) /*$wgDBTableOptions*/;


#1071 - Specified key was too long; max key length is 1000 bytes
Comment 1 Platonides 2008-10-10 16:50:10 UTC
That's mysql bug 4541 - http://bugs.mysql.com/bug.php?id=4541

You can workaround it by using latin1 instead of utf8 (you can force it on the key)

Mark as duplicate of bug 1322?
Comment 2 Bertrand GRONDIN 2008-10-10 18:01:26 UTC
It'r run

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

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


Navigation
Links