Title: wp_posts: Table &#039;blog2.wp_posts&#039; doesn&#039;t exist
Last modified: August 21, 2016

---

# wp_posts: Table 'blog2.wp_posts' doesn't exist

 *  Resolved [showmemn](https://wordpress.org/support/users/showmemn/)
 * (@showmemn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/)
 * wp_posts: Table ‘blog2.wp_posts’ doesn’t exist
    wp_options: Table ‘blog2.wp_options’
   doesn’t exist wp_postmeta: Table ‘blog2.wp_postmeta’ doesn’t exist

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878735)
 * Is this a fresh install?
 *  Thread Starter [showmemn](https://wordpress.org/support/users/showmemn/)
 * (@showmemn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878749)
 * turned on debug and these where the results. This is windows xp pro
 *     ```
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'siteurl' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'home' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'active_plugins' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'hack_file' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'blog_charset' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'permalink_structure' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'wp_user_roles' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'stylesheet' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'category_base' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'tag_base' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'link_manager_enabled' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'sidebars_widgets' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_pages' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_calendar' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_archives' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_links' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_meta' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_search' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_text' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_categories' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_recent-posts' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_recent_entries' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_recent-comments' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_recent_comments' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_rss' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_tag_cloud' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'widget_nav_menu' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'use_smilies' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'cron' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       INSERT INTO <code>wp_options</code> (<code>option_name</code>, <code>option_value</code>, <code>autoload</code>) VALUES ('cron', 'a:2:{i:1372279227;a:1:{s:16:\"wp_version_check\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}s:7:\"version\";i:2;}', 'yes') ON DUPLICATE KEY UPDATE <code>option_name</code> = VALUES(<code>option_name</code>), <code>option_value</code> = VALUES(<code>option_value</code>), <code>autoload</code> = VALUES(<code>autoload</code>)
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       UPDATE <code>wp_options</code> SET <code>option_value</code> = 'a:2:{i:1372279227;a:2:{s:16:\"wp_version_check\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:17:\"wp_update_plugins\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}s:7:\"version\";i:2;}' WHERE <code>option_name</code> = 'cron'
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       UPDATE <code>wp_options</code> SET <code>option_value</code> = 'a:2:{i:1372279227;a:3:{s:16:\"wp_version_check\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:17:\"wp_update_plugins\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:16:\"wp_update_themes\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}s:7:\"version\";i:2;}' WHERE <code>option_name</code> = 'cron'
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'theme_switched' LIMIT 1
   
       WordPress database error: [Table 'blog2.wp_options' doesn't exist]
       SELECT option_value FROM wp_options WHERE option_name = 'html_type' LIMIT 1
       lang="en-US" xml:lang="en-US">
       ```
   
 *  Thread Starter [showmemn](https://wordpress.org/support/users/showmemn/)
 * (@showmemn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878752)
 * also using wamp server
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878757)
 * Is this a fresh install?
 *  Thread Starter [showmemn](https://wordpress.org/support/users/showmemn/)
 * (@showmemn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878789)
 * should i reinstall wordpress?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878790)
 * For the 3rd time of asking – is this a fresh install?
 *  Thread Starter [showmemn](https://wordpress.org/support/users/showmemn/)
 * (@showmemn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878793)
 * i just did, same thing happened
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878797)
 * Sorry but I give up! I’ve asked the same question 3 times and have yet to receive
   an answer.
 *  Thread Starter [showmemn](https://wordpress.org/support/users/showmemn/)
 * (@showmemn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878798)
 * It is odd. When I try to pull up localhost/blog2 I get “Error establishing a 
   database connection”
 * I restarted the wamp server, but no luck
 *  Thread Starter [showmemn](https://wordpress.org/support/users/showmemn/)
 * (@showmemn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878803)
 * going to uninstall wamp and reinstall
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878807)
 * It’s most likely Esmi was referring to WordPress, not Wamp.
 *  Thread Starter [showmemn](https://wordpress.org/support/users/showmemn/)
 * (@showmemn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3878946)
 * I found the fix. I had to change localhost in the wamp server config file to 
   showmemn and it recognized the URL. Sorry for wasting your time, but thanks for
   the assistance.
 *  [kovacevic.s](https://wordpress.org/support/users/kovacevics/)
 * (@kovacevics)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3879226)
 * i have the similar problem, i don’t know what to do
    it is frash install, both,
   wordpress (Version 3.7.1) and wamp server
 * wp_posts: Table ‘aco01.wp_posts’ doesn’t exist
    wp_links: Table ‘aco01.wp_links’
   doesn’t exist wp_options: Table ‘aco01.wp_options’ doesn’t exist wp_postmeta:
   Table ‘aco01.wp_postmeta’ doesn’t exist
 * and this appears after i try to login for the first time, it won’t give me the
   login page just ses the database needs repair, and i did but it couldn’t repare
   this

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

The topic ‘wp_posts: Table 'blog2.wp_posts' doesn't exist’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 13 replies
 * 4 participants
 * Last reply from: [kovacevic.s](https://wordpress.org/support/users/kovacevics/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/wp_posts-table-blog2wp_posts-doesnt-exist/#post-3879226)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
