Title: mySQL select database issues
Last modified: August 18, 2016

---

# mySQL select database issues

 *  Resolved [kyles3d](https://wordpress.org/support/users/kyles3d/)
 * (@kyles3d)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/mysql-select-database-issues/)
 * I have installed wordpress per instructions they include and they’re error message
   says that my user name and password are correct but wordpress is not able to 
   select the database? Here’s the exact wording:
 * Can’t select database
 * We were able to connect to the database server (which means your username and
   password is okay) but not able to select the database I created.
 * * Are you sure it exists?
    * On some systems the name of your database is prefixed
   with your username, so it would be like username_wordpress. Could that be the
   problem?
 * If you don’t know how to setup a database you should contact your host. If all
   else fails you may find help at the WordPress Support Forums.
    I have also talked
   with my hosting company and they said that the database name is there and looks
   like it’s in the right place under wp-config.php.

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

 *  Thread Starter [kyles3d](https://wordpress.org/support/users/kyles3d/)
 * (@kyles3d)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/mysql-select-database-issues/#post-536419)
 * I deleted it off the server and reinstalled it. Using the file editor option 
   with my web host I changed the wp-config.php settings while it was live on server
   and it works awesome now. So I dont know what happened. Maybe when I changed 
   the wp-config.php file settings in wordpad and then uploaded it I corrupted the
   file.
 *  [tripper44](https://wordpress.org/support/users/tripper44/)
 * (@tripper44)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/mysql-select-database-issues/#post-536651)
 * Hi
 * I fixed this by doing the following, I had my database connection setup to use
   the name ‘ben’@’localhost’ and when i used the following command in the mysql
   command line I no longer got the error:
 * SET PASSWORD FOR ‘root’@’localhost’ = OLD_PASSWORD(‘mymysqlpassword’);
 *  [jordanstudio](https://wordpress.org/support/users/jordanstudio/)
 * (@jordanstudio)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/mysql-select-database-issues/#post-536652)
 * Hi,
    can you help me please! the same is happernig to me Tripper44
 * Can you help Please ?!?!

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

The topic ‘mySQL select database issues’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [select](https://wordpress.org/support/topic-tag/select/)
 * [setting](https://wordpress.org/support/topic-tag/setting/)
 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [jordanstudio](https://wordpress.org/support/users/jordanstudio/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/mysql-select-database-issues/#post-536652)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
