Title: Unexplainable database connection error during installation
Last modified: August 19, 2016

---

# Unexplainable database connection error during installation

 *  [ChrisWeiser](https://wordpress.org/support/users/chrisweiser/)
 * (@chrisweiser)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/unexplainable-database-connection-error-during-installation/)
 * This is the most frustrating experience I’ve had yet with WordPress.
 * > This either means that the username and password information in your wp-config.
   > php file is incorrect or we can’t contact the database server at db2137.perfora.
   > net. This could mean your host’s database server is down.
 * I have triple-checked my username and password; they are correct. I have tried
   resetting my database password, waiting, and then re-upping my config file. I
   have tried taking out the Authentication keys. I have tried deleting my entire
   database and WordPress installations and starting over from scratch with a new
   one, and it still gives me this error. I just set up a client’s WordPress yesterday
   with the regular method and everything went just fine; mine will inexplicably
   not allow me to the installation page.
 * The only two possible explanations I can come up with are these:
    1. A previous
   database is still in the process of deletion and this is somehow affecting the
   connection with the new database; I cannot see why this would be so but stranger
   things have happened. 2. This is the second time I have installed wordpress on
   this directory (after having wiped it clean before) and there is some residual
   code resting on the server that is interfering. This is a guess based on database
   matters, which are beyond my understanding.
 * FYI this is on a 1and1.com server and yes, I have used the actual database hostname
   rather than “localhost.”

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/unexplainable-database-connection-error-during-installation/#post-1282146)
 * Once you create the database, 1and1 gives you access to use [phpMyAdmin](http://codex.wordpress.org/phpMyAdmin)
   to look at the database. Can you do that?
 *  Thread Starter [ChrisWeiser](https://wordpress.org/support/users/chrisweiser/)
 * (@chrisweiser)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/unexplainable-database-connection-error-during-installation/#post-1282348)
 * Yes MichaelH, I can get to phpMyAdmin just fine. Taking a look at my specific
   database that I want to install WordPress to, it shows “no tables found” in my
   database structure.
 * Should I create a new table?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/unexplainable-database-connection-error-during-installation/#post-1282353)
 * > Should I create a new table?
 * No need to do that as the wp-admin/install.php process will create needed tables.
 * `db2137.perfora.net` sounds like a reasonable DB_HOST value but again you should
   check your wp-config.php DB_HOST, DB_NAME, DB_USER, and DB_PASSWORD values. Note:
   the various ‘security keys’ have no impact on this problem.

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

The topic ‘Unexplainable database connection error during installation’ is closed
to new replies.

## Tags

 * [1and1](https://wordpress.org/support/topic-tag/1and1/)
 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/unexplainable-database-connection-error-during-installation/#post-1282353)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
