Title: Database Connection Error
Last modified: August 20, 2016

---

# Database Connection Error

 *  Resolved [diso](https://wordpress.org/support/users/diso/)
 * (@diso)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/database-connection-error-19/)
 * I’m having some trouble installing WordPress this time. It is a Yahoo account
   server and I’m using phpMyAdmin. I created the database and inputted the data
   in the config file for WordPress (database name, username, password, on local
   host). I know the sever is running, so I’m not sure what the problem is.

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

 *  Thread Starter [diso](https://wordpress.org/support/users/diso/)
 * (@diso)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/database-connection-error-19/#post-2534170)
 * Also, I’m a little new using phpMy Admin, but when I created the database there
   was 3 … already there by default in the name text field. I don’t know if they
   are important to add or not, but I’ve already tried with and without them in 
   the config file. Would it take a couple moments for it to register/load though?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/database-connection-error-19/#post-2534172)
 * No. Try deleting your wp-config.php and allowing WordPress to create during the
   install process.
 *  Thread Starter [diso](https://wordpress.org/support/users/diso/)
 * (@diso)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/database-connection-error-19/#post-2534183)
 * Hey esmi. I just tried that and it’s still not working. I’m in phpMyAdmin right
   now and I know I’m inputting the info correctly. It’s in localhost and I gave
   the user all database privileges.
 *  Thread Starter [diso](https://wordpress.org/support/users/diso/)
 * (@diso)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/database-connection-error-19/#post-2534187)
 * I created a directory inside my site root for the install of phpMyAdmin. Do I
   need to specify this, or is localhost enough for database host?
 *  Thread Starter [diso](https://wordpress.org/support/users/diso/)
 * (@diso)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/database-connection-error-19/#post-2534191)
 * Never mind I figured it out. Apparently the host is supposed to be mysql.

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

The topic ‘Database Connection Error’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 2 participants
 * Last reply from: [diso](https://wordpress.org/support/users/diso/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/database-connection-error-19/#post-2534191)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
