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

---

# Can’t select database

 *  [miker](https://wordpress.org/support/users/miker/)
 * (@miker)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/cant-select-database-3/)
 * Hello,
    I have uploaded the entire site but I receive a message: “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 wordpress database.”
 * What´s going on?
    Thanks

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/cant-select-database-3/#post-314734)
 * Something wrong in your wp-config file.
    Check all 4 pieces of info you put in
   there.
 *  [backpacker](https://wordpress.org/support/users/backpacker/)
 * (@backpacker)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/cant-select-database-3/#post-315088)
 * Hi,moshu,I happened have a problem the same as miker’s.I have created a database
   named “wordpress” by my host’s authorization.Why the hell my wordpress can’t 
   select it??
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/cant-select-database-3/#post-315089)
 * There might be quite a number of reasons.
    For example, on some hosts that use
   cPanel as your site’s admin tool, will prepend the DB name with your site admin
   username. Say, if your username to the site was “backpacker” then the DB name
   would be “backpacker_wordpress”. But this is just an example, I have no idea 
   how your host server is set up.
 *  [backpacker](https://wordpress.org/support/users/backpacker/)
 * (@backpacker)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/cant-select-database-3/#post-315091)
 * Thank you very much.I tryed on using my host’s root name and it didn’t work.I
   will try on my admin username.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/cant-select-database-3/#post-315092)
 * I am getting more and more confused by what you say.
    What kind of admin interface
   do you have? There are instructions for several of them here: [http://www.tamba2.org.uk/wordpress/](http://www.tamba2.org.uk/wordpress/)–
   see under Installation.
 * The error message indicates there is something wrong with the database name.

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

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

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
