Title: 2.0.2: WordPress database error
Last modified: August 22, 2016

---

# 2.0.2: WordPress database error

 *  Resolved [pavelevap](https://wordpress.org/support/users/pavelevap/)
 * (@pavelevap)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/202-wordpress-database-error/)
 * Hi, after updating from 1.9.x to 2.0.2, there was following error during reactivation:
 *     ```
       WordPress database error: [Multiple primary key defined]
       ALTER TABLE wp_snippets CHANGE COLUMN id id bigint(20) unsigned not null auto_increment primary key
       ```
   
 * I am also using Query Monitor, maybe it is related?
 * Thank you!
 * [https://wordpress.org/plugins/code-snippets/](https://wordpress.org/plugins/code-snippets/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/202-wordpress-database-error/#post-5866779)
 * If you do not continue to receive this error and everything is working fine, 
   then you can just ignore this.
 * There was bit of change in database structure in version 2.0, and the result 
   is WordPress trying to update something that doesn’t need to be updated. But 
   there is no harm done, only this error. message.

Viewing 1 replies (of 1 total)

The topic ‘2.0.2: WordPress database error’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/202-wordpress-database-error/#post-5866779)
 * Status: resolved