Title: &#8220;Can’t select database&#8221; Error
Last modified: August 18, 2016

---

# “Can’t select database” Error

 *  [magicrichard](https://wordpress.org/support/users/magicrichard/)
 * (@magicrichard)
 * [19 years ago](https://wordpress.org/support/topic/cant-select-database-error-4/)
 * Hi guys,
 * I think i sort of screwed up the upgrade, so had to do some fiddling with restoring
   databases and the like. By using phpmyadmin, i am fairly certain that the database
   is back in tact and importantly, named the same. I am getting this error message
   for all pages of my site at the moment:
 * “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 magicric_wp1 database.”
 * I am 100% sure that the database magicric_wp1 is there and populated! Any clues
   where I should start looking for problems next?
 * Thanks in advance!

Viewing 1 replies (of 1 total)

 *  Thread Starter [magicrichard](https://wordpress.org/support/users/magicrichard/)
 * (@magicrichard)
 * [19 years ago](https://wordpress.org/support/topic/cant-select-database-error-4/#post-566543)
 * Found the answer myself! Sorry!
 * It was to do with the fact that the database had not been setup to have a user–
   easily rectified.

Viewing 1 replies (of 1 total)

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 1 participant
 * Last reply from: [magicrichard](https://wordpress.org/support/users/magicrichard/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/cant-select-database-error-4/#post-566543)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
