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

---

# Can’t select database

 *  Resolved [economakis](https://wordpress.org/support/users/economakis/)
 * (@economakis)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/cant-select-database-29/)
 * I cant create a new wordpress site. i am getting this message:
 * ////////////////////////////////////////////
    We were able to connect to the 
   database server (which means your username and password is okay) but not able
   to select the alex database.
 *  Are you sure it exists?
    Does the user have permission to use the alex database?
   On some systems the name of your database is prefixed with your username, so 
   it would be like username_alex. Could that be the problem?
 * If you don’t know how to set up a database you should contact your host. If all
   else fails you may find help at the WordPress Support Forums.
    ////////////////////////////////////////////
 * i am absolutely possitive i have a database with the name alex, as it says, if
   i could i would gladly email any one with the screen shot of the database.
 * I am running a mamp server on a MAC OS.
 * There is one more thing, i was using xampp a few days ago and i changed the password
   for the localserver after that i wasnt able to view any of my databases. For 
   that reason i deleted xampp and installed mamp, after that i was able to at least
   create a new database which means that the problem should be resolved seeing 
   that when mamp is installed it resets password and user name to blank.
 * I have really tried everything, any suggestions would be greatly appreciated

Viewing 1 replies (of 1 total)

 *  Thread Starter [economakis](https://wordpress.org/support/users/economakis/)
 * (@economakis)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/cant-select-database-29/#post-2315997)
 * if i configure the wp-config file, to the values i want i get a “Error establishing
   a database connection” wen i try and access my site

Viewing 1 replies (of 1 total)

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

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [mac](https://wordpress.org/support/topic-tag/mac/)
 * [MAMP](https://wordpress.org/support/topic-tag/mamp/)
 * [select](https://wordpress.org/support/topic-tag/select/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 1 participant
 * Last reply from: [economakis](https://wordpress.org/support/users/economakis/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/cant-select-database-29/#post-2315997)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
