Title: &quot;Can&#039;t Select Database&quot; Error
Last modified: August 19, 2016

---

# "Can't Select Database" Error

 *  [jfdesign](https://wordpress.org/support/users/jfdesign/)
 * (@jfdesign)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/cant-select-database-error-7/)
 * I’ve read a few posts, yet no solution.
 * ^ I keep getting that error. With that said, here’s a look at my config.php:
 * _// ** MySQL settings – You can get this info from your web host ** //
    /** The
   name of the database for WordPress */ define(‘DB\_NAME’, ‘wordpress’);
 * /** MySQL database username */
    define(‘DB_USER’, ‘jfdesign’);
 * /** MySQL database password */
    define(‘DB_PASSWORD’, ‘woodlog09’);
 * /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);
 * /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’,‘
   utf8’);
 * /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’,”);
 * Lets have a look at my phpMyAdmin Databases:
 * • I have one database called, ‘wordpress’
 * I’m really confused. I have a database called wordpress, I’ve changed the privileges
   to ‘grant yes’ / ‘global’, and all the information in the config.php matches 
   up exactly with the information I’ve inputted while trying to install wordpress.
 * Anyone lend a hand?

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

 *  Thread Starter [jfdesign](https://wordpress.org/support/users/jfdesign/)
 * (@jfdesign)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/cant-select-database-error-7/#post-2011463)
 * Apparently you can’t edit forum posts.
 * When you click on the entire paragraph above, you’ll see the issue at hand. Continue
   to read everything in blue after.
 *  Thread Starter [jfdesign](https://wordpress.org/support/users/jfdesign/)
 * (@jfdesign)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/cant-select-database-error-7/#post-2011464)
 * Okay so I added a new user to my ‘wordpress’ database, called ‘jarrydfd’.
 * I get past the error, and I click ‘run the installation’.
 * I click ‘run the installation’, and the EXACT SAME ERROR comes up, the ‘can’t
   connect to database’
 * oh my godddd what’s wrong with it?!
 *  Thread Starter [jfdesign](https://wordpress.org/support/users/jfdesign/)
 * (@jfdesign)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/cant-select-database-error-7/#post-2011465)
 * Been resolved.
 * I had to configure the config.php in accordance to the second user I created.
 * STRESS.

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

The topic ‘"Can't Select Database" Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 1 participant
 * Last reply from: [jfdesign](https://wordpress.org/support/users/jfdesign/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/cant-select-database-error-7/#post-2011465)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
