Title: Upload database Error message
Last modified: October 22, 2018

---

# Upload database Error message

 *  [jasminalisondesign](https://wordpress.org/support/users/jasminalisondesign/)
 * (@jasminalisondesign)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/upload-database-error-message/)
 * Hi All, I’ve been given site files for a client’s wordpress site and am trying
   to restore it from these files. When trying to import the sql database to phpmyadmin
   I get this error message – I’m a complete newbie so have no idea what this means??
   
   [https://ibb.co/h8pWD0](https://ibb.co/h8pWD0)
 * Thanks for your help I’m so grateful
 * Jasmin

Viewing 1 replies (of 1 total)

 *  [RoseHosting](https://wordpress.org/support/users/rosehosting/)
 * (@rosehosting)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/upload-database-error-message/#post-10803008)
 * Hi Jasmin,
 * `#1046 - No database selected` means that you have to tell the database server
   which database to use before importing the SQL file.
 * Create an empty database, select it on the left side of phpMyAdmin and try to
   import the backup again.

Viewing 1 replies (of 1 total)

The topic ‘Upload database Error message’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [RoseHosting](https://wordpress.org/support/users/rosehosting/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/upload-database-error-message/#post-10803008)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
