Title: Cannot select database
Last modified: August 18, 2016

---

# Cannot select database

 *  Resolved [achtunga](https://wordpress.org/support/users/achtunga/)
 * (@achtunga)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-select-database-1/)
 * Hey guys,
 * I’m having trouble setting up WordPress. Very simply, it cannot “select” the 
   database, but it says it connects to the database server.
 * The server I use names the database with the prefix of my username, so I didn’t
   forget to add that. I really have no idea what is wrong, because I’ve done stuff
   like this before…
 * I’ve checked posts around here, but they don’t seem to be a solution to my question.
 * Thanks in advance

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

 *  [merfnet](https://wordpress.org/support/users/merfnet/)
 * (@merfnet)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-select-database-1/#post-294872)
 * do you uses the FTP?
 *  [merfnet](https://wordpress.org/support/users/merfnet/)
 * (@merfnet)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-select-database-1/#post-294873)
 * if you do, when you set up the installation, fill in the areas just like you 
   would with the ftp
 *  Thread Starter [achtunga](https://wordpress.org/support/users/achtunga/)
 * (@achtunga)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-select-database-1/#post-294875)
 * After I filled in the information to wp-config.php, I uploaded all the files 
   using FTP. Then when I go to /wp-admin/install.php to install it (for the first
   time), it gives me the “cannot select database” error.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-select-database-1/#post-294876)
 * Are you using CPanel ?
    [http://www.tamba2.org.uk/wordpress/cpanel/](http://www.tamba2.org.uk/wordpress/cpanel/)
 * Either way, you need to associate the database with your name. The above guide
   does that for CPanel and there is another there for Plesk.
 *  Thread Starter [achtunga](https://wordpress.org/support/users/achtunga/)
 * (@achtunga)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-select-database-1/#post-294877)
 * Sweet. Thanks.
 * I was using cPanel and didn’t do that one little extra step. I had the user in
   the DB, but I never pressed the “Add User to DB” button.
 * Thanks a ton man!

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

The topic ‘Cannot select database’ 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/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 3 participants
 * Last reply from: [achtunga](https://wordpress.org/support/users/achtunga/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/cannot-select-database-1/#post-294877)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
