Title: Database Error with correct DB info?
Last modified: August 19, 2016

---

# Database Error with correct DB info?

 *  [tvallier](https://wordpress.org/support/users/tvallier/)
 * (@tvallier)
 * [16 years ago](https://wordpress.org/support/topic/database-error-with-correct-db-info/)
 * So, I’m building a site for a client, and we’re migrating from my dev server 
   to their live environment and have hit a hiccup: The dreaded “Error establishing
   a database connection”
 * I’ve done a check of the connection info (Hots, username, password and db name–
   and that worked no problem. Trying to get to domain.com/wp-admin suggests a DB
   repair, but when I click the button, all I get is an “Are you sure” with no way
   to confirm.
 * Anyone got any ideas?

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [16 years ago](https://wordpress.org/support/topic/database-error-with-correct-db-info/#post-1489063)
 * If you can access the database via phpMyAdmin, check all of the tables and choose“
   Repair tables” from the pull-down menu.

Viewing 1 replies (of 1 total)

The topic ‘Database Error with correct DB info?’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/database-error-with-correct-db-info/#post-1489063)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
