Title: Database error &#8211; Codex
Last modified: August 18, 2016

---

# Database error – Codex

 *  [jgray](https://wordpress.org/support/users/jgray/)
 * (@jgray)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/database-error-codex/)
 * Running Firefox 1.0, accessing the Codex returns:
 * A database error has occurred
    Query: INSERT INTO `objectcache` (keyname,value,
   exptime) VALUES(‘codex:messages:Sitenotice’,’+ 2 RR ‘,’2005-02-17 15:28:53’) 
   Function: MediaWikiBagOStuff:_doquery Error: 1062 Duplicate entry ‘codex:messages:
   Sitenotice’ for key 1 (localhost)
 * Backtrace:
 *  * Database.php line 345 calls wfDebugDieBacktrace()
    * Database.php line 297
   calls DatabaseMysql::reportQueryError() * ObjectCache.php line 379 calls DatabaseMysql::
   query() * ObjectCache.php line 279 calls MediaWikiBagOStuff::_doquery() * ObjectCache.
   php line 255 calls MediaWikiBagOStuff::_query() * MessageCache.php line 275 calls
   MediaWikiBagOStuff::set() * GlobalFunctions.php line 392 calls MessageCache::
   get() * GlobalFunctions.php line 338 calls wfMsgReal() * Setup.php line 375 calls
   wfMsg() * index.php line 25 calls require_once()

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/database-error-codex/#post-146174)
 * That seems to be happening a lot at random lately. Just refresh the page once
   or twice.
 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/database-error-codex/#post-146179)
 * I believe that this is a bug in MediaWiki itself. It is a known problem, and 
   Codex will have the necessary MediaWiki fixes as soon as they are available.
 *  Thread Starter [jgray](https://wordpress.org/support/users/jgray/)
 * (@jgray)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/database-error-codex/#post-146367)
 * Thanks. Refreshing worked fine. I am glad to see that the problem is in MediaWiki,
   since I have just about decided to switch to WP from PHPSlash.
 *  Thread Starter [jgray](https://wordpress.org/support/users/jgray/)
 * (@jgray)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/database-error-codex/#post-146594)
 * I just got a similar database error when clicking on the support tab.. Is this
   also a problem with software other than WordPress?
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/database-error-codex/#post-146612)
 * The site has been dealing with a lot of activity since 1.5 was released, and 
   the extra traffic is definitely causing some issues.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Database error – Codex’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 5 replies
 * 4 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/database-error-codex/#post-146612)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
