Title: Re-create missing database tables
Last modified: August 21, 2016

---

# Re-create missing database tables

 *  [FSRIAdmin](https://wordpress.org/support/users/fsriadmin/)
 * (@fsriadmin)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/re-create-missing-database-tables/)
 * RE:www.tkri.net/blog
    When I tried using the repair and optimize tool in wp I
   got a message that suggested I post something here in the forum asking for help.
   The error message is here: wp_postmeta: Table ‘xxxxxx_xxxx.wp_postmeta’ doesn’t
   exist wp_terms: Table ‘xxxxxx_xxxx.wp_terms’ doesn’t exist wp_term_taxonomy: 
   Table ‘xxxxxx_xxxx.wp_term_taxonomy’ doesn’t exist wp_term_relationships: Table‘
   xxxxxx_xxxx.wp_term_relationships’ doesn’t exist wp_commentmeta: Table ‘xxxxxxx_xxxx.
   wp_commentmeta’ doesn’t exist wp_order_itemmeta: Table ‘xxxxxxx_xxxx.wp_order_itemmeta’
   doesn’t exist My site was hacked a couple of months ago. I did a restore. Long
   story short -I ended up reinstalling WP (all new except content and config files),
   creating a new db and importing the tables from the corrupted db but the process
   had problems. I haven’t been abel to do anything with my menu or my comments 
   ever since. The company I use for server space is unable to help. Looking to 
   possibly try re-creating the missing tables myself using myPHP. Any one done 
   this before or have some good resources to share? I’ve seen a couple of similar
   posts, but mostly they direct people to use the repair tools inside of myPHP -
   I’ve done that before I tried using the WP optimize and repair tool, or having
   server company do a restore (not an option), or reinstalling WP (already done).

The topic ‘Re-create missing database tables’ is closed to new replies.

## Tags

 * [create table](https://wordpress.org/support/topic-tag/create-table/)
 * [database](https://wordpress.org/support/topic-tag/database/)
 * [table](https://wordpress.org/support/topic-tag/table/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [FSRIAdmin](https://wordpress.org/support/users/fsriadmin/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/re-create-missing-database-tables/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
