Title: Database error when upgrading 3.5.2
Last modified: August 21, 2016

---

# Database error when upgrading 3.5.2

 *  [xzoom](https://wordpress.org/support/users/xzoom/)
 * (@xzoom)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-upgrading-352/)
 * hello!!!
 * I upgraded wp version 3.5.1 to 3.5.2. and all works correctly. But I realised
   that some log errors appeared:
 * [Tue Jul 02 07:18:57 2013] [error] [] DbWP database error Table ‘wp_blogs’ already
   exists for query \nCREATE TABLE wp_blogs (\n blog_id bigint(20) NOT NULL auto_increment,\
   n site_id bigint(20) NOT NULL default ‘0’,\n domain varchar(200) NOT NULL default”,\
   n path varchar(100) NOT NULL default ”,\n registered datetime NOT NULL default‘
   0000-00-00 00:00:00’,\n last_updated datetime NOT NULL default ‘0000-00-00 00:
   00:00’,\n public tinyint(2) NOT NULL default ‘1’,\n archived enum(‘0′,’1’) NOT
   NULL default ‘0’,\n mature tinyint(2) NOT NULL default ‘0’,\n spam tinyint(2)
   NOT NULL default ‘0’,\n deleted tinyint(2) NOT NULL default ‘0’,\n lang_id int(
   11) NOT NULL default ‘0’,\n PRIMARY KEY (blog_id),\n KEY domain (domain(50),path(
   5)),\n KEY lang_id (lang_id)\n) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
   made by wp_upgrade, make_db_current_silent, dbDelta
 * Appears one error for each blog in the network, Why wp is trying to create a 
   new table?
 * Do you know if exisit any upgrade database error in this WP version?
 * Thanks a lot!!!

Viewing 1 replies (of 1 total)

 *  Thread Starter [xzoom](https://wordpress.org/support/users/xzoom/)
 * (@xzoom)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-upgrading-352/#post-3894609)
 * Strange… WP has tried to create the following tables for each blog, and as they
   exist, the errors were generated.
 * WordPress database error Table ‘wp_blogs’
    WordPress database error Table ‘wp_blog_versions’
   WordPress database error Table ‘wp_registration_log’ WordPress database error
   Table ‘wp_site’ WordPress database error Table ‘wp_sitemeta’ WordPress database
   error Table ‘wp_signups’ WordPress database error Table ‘wp_users’ WordPress 
   database error Table ‘wp_usermeta’

Viewing 1 replies (of 1 total)

The topic ‘Database error when upgrading 3.5.2’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 1 reply
 * 1 participant
 * Last reply from: [xzoom](https://wordpress.org/support/users/xzoom/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-upgrading-352/#post-3894609)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
