Title: Error Message: Can’t select database
Last modified: August 20, 2016

---

# Error Message: Can’t select database

 *  [aremkay](https://wordpress.org/support/users/aremkay/)
 * (@aremkay)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-cant-select-database-2/)
 * **Can’t select database**
 *  When trying to install a new wp site (on a new website, and a new SQL-db) the
   following error message occurs.
 *  “_We were able to connect to the database server (which means your username 
   and password is okay) but not able to select the \_\_dbname\_\_\_\_\_\_\_ database._“
 * The SQL-db is there; the user and username are correct and authorized, but…….

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

 *  [CPC Mike](https://wordpress.org/support/users/homergz/)
 * (@homergz)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-cant-select-database-2/#post-3200427)
 * More than likely you used an incorrect database name. If on shared hosting the
   database name usually is prefixed by a username (username_databasename). Also
   make certain that the user has full privileges on the database.
 *  Thread Starter [aremkay](https://wordpress.org/support/users/aremkay/)
 * (@aremkay)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-cant-select-database-2/#post-3200430)
 * Been there done that. Umpteen times. Both ways. Just did the config file again’
   cause my host wanted it (even tho I supplied the exact same to them a while back.
 * Let me add, that I find an unwarranted level of arrogance from the monitors here
   on this forum-question. I have read all the posts back to 7 years ago. No solutions
   offered. One guy from WP said something like “that’s all we can do from here.”
   Where I come from that means “go fly a kite.”
 *  [CPC Mike](https://wordpress.org/support/users/homergz/)
 * (@homergz)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-cant-select-database-2/#post-3200432)
 * I know it can be frustrating, for both helper and helpee, but no kite flying 
   here today. Most of the time database connection issues are due to something 
   simple. I suggest continuing to work with your host as they have the most insight
   into your setup. If anything changes or you get a different error message post
   back and I will do what I can.

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

The topic ‘Error Message: Can’t select database’ is closed to new replies.

## Tags

 * [install.php](https://wordpress.org/support/topic-tag/install-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [CPC Mike](https://wordpress.org/support/users/homergz/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-cant-select-database-2/#post-3200432)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
