Last modified: 2010-05-15 15:33:04 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 3383 - Database error: Incorrect key file for table 'objectcache'
Database error: Incorrect key file for table 'objectcache'
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-09-07 15:07 UTC by Travis D
Modified: 2010-05-15 15:33 UTC (History)
0 users

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


Description Travis D 2005-09-07 15:07:48 UTC

We are occassionally seeing this error for some special pages such as
Special:Recentchanges Special:Specialpages Special:Randompage:
Database error
 A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:

    (SQL query hidden)

from within function "MediaWikiBagOStuff:_doquery". MySQL returned error "1034:
Incorrect key file for table 'objectcache'; try to repair it (localhost)"

This seems to be only reproducable by going to special pages, although I could
be wrong. Why would the code attempt to read something out of the objectcache
for a special page? Hitting refresh resolves the problem and the correct page is
Comment 1 Travis D 2005-09-07 16:14:17 UTC

I just saw this bug again when on a printable version of a normal article page
and returning to the regular article.

Same MySQL error. Hitting refresh loads the page correctly.
Comment 2 Brion Vibber 2005-09-07 19:11:23 UTC
The objectcache table is used on many occasions.

Please use MySQL's tools to repair the table. See for 
documentation on MySQL.
Comment 3 Travis D 2005-09-07 19:27:55 UTC
Thanks, that seems to have worked. I guess "Try to repair it" was a little too
vague for me. 

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