Title: Database
Last modified: August 20, 2016

---

# Database

 *  Resolved [courtneycj](https://wordpress.org/support/users/courtneycj/)
 * (@courtneycj)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/database-16/)
 * Hello,
    I just got done upgrading my site to the latest version of php. At the
   same time, I was trying to update to the latest version of WordPress. When I 
   try to go to my dashboard, I’m now getting the following error 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 [mydatabase]
   database.
 * Are you sure it exists?
    Does the user [mydatabase] have permission to use the[
   mydatabase] database? On some systems the name of your database is prefixed with
   your username, so it would be like username_[mydatabase]. Could that be the problem?”
 * I inserted all of the information as I had done so before on my old site and 
   exactly as it’s listed in 1&1. I don’t think this is a problem with the host.
   Can anyone offer me any advice as to how to fix this? Thank you very much!

The topic ‘Database’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [courtneycj](https://wordpress.org/support/users/courtneycj/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/database-16/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
