Title: Database problem &#8211; &#8216;Table doesn&#8217;t exist&#8217;
Last modified: July 10, 2018

---

# Database problem – ‘Table doesn’t exist’

 *  Resolved [jochundesign](https://wordpress.org/support/users/jochundesign/)
 * (@jochundesign)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/database-problem-table-doesnt-exist/)
 * Since yesterday, I haven’t been able to access the dashboard; it just gives me
   this message: **Error establishing a database connection**.
 * After a bit of investigation, I ran the WP database repair and it returned this
   message:
 * **The wpq4_options table is not okay. It is reporting the following error: Table‘
   thevicsw_wp431.wpq4_options’ doesn’t exist. WordPress will attempt to repair 
   this table…
    Failed to repair the wpq4_options table. Error: Table ‘thevicsw_wp431.
   wpq4_options’ doesn’t exist
 * How do I recreate this missing table?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-problem-table-doesnt-exist%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/database-problem-table-doesnt-exist/#post-10482054)
 * If you have phpMyAdmin access to your database, you can check to see if that 
   table actually exists.
 * The error message your getting is to be expected. The repair tool cannot repair
   something which it can’t find. (Although why it doesn’t throw a different error
   is odd.)
 * I have sometimes had luck in the past just manually creating a table like that
   via phpMyAdmin. You can try that and then run the repair tool again.
 *  Thread Starter [jochundesign](https://wordpress.org/support/users/jochundesign/)
 * (@jochundesign)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/database-problem-table-doesnt-exist/#post-10484273)
 * Hi kjodle,
 * Thanks for your response. I did as you suggested and created the table in phpAdmin.
   I can now access the login screen but when I try to log in, I get “The page isn’t
   redirecting properly. An error occurred during connection.”
 * Any ideas? :-S
 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/database-problem-table-doesnt-exist/#post-10488877)
 * Try deleting your cookies. That sometimes clears up a redirect issue.
 *  Thread Starter [jochundesign](https://wordpress.org/support/users/jochundesign/)
 * (@jochundesign)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/database-problem-table-doesnt-exist/#post-10490641)
 * It’s OK, I restored the database from a backup and it works now. Thanks for your
   help though 🙂

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

The topic ‘Database problem – ‘Table doesn’t exist’’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [jochundesign](https://wordpress.org/support/users/jochundesign/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/database-problem-table-doesnt-exist/#post-10490641)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
