Title: Database corruption?
Last modified: August 20, 2016

---

# Database corruption?

 *  [colrob](https://wordpress.org/support/users/colrob/)
 * (@colrob)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/database-corruption-2/)
 * Just transferred to a new host. WP installed but cannot connect to db. It works
   Ok if I use an auto install but after importing backup from old site (also 3.3.1)
   WP cannot connect to the db. tried everything I can thin of. Is it either a field
   in the db that is messing things up or corruption? I did try another backup and
   got the same response.
 * Col

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

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years, 2 months ago](https://wordpress.org/support/topic/database-corruption-2/#post-2620353)
 * Check your new host’s `wp-config.php` and make sure the database setting are 
   correct for your new home, including table prefix.
 * If you restored the file backup you may have also restored the old `wp-config.
   php` file which may not be correct anymore.
 *  Thread Starter [colrob](https://wordpress.org/support/users/colrob/)
 * (@colrob)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/database-corruption-2/#post-2620380)
 * I just restored the database SQL file. I tried an auto install of WP on the new
   server and it worked OK until I imported the SQL file from the previous server.
   Them WP could not communicate with the database. That makes me think there is
   something in the database backup which prevents WP from seeing the db. Never 
   had this happen before.

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

The topic ‘Database corruption?’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [colrob](https://wordpress.org/support/users/colrob/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/database-corruption-2/#post-2620380)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
