Title: database problem
Last modified: August 21, 2016

---

# database problem

 *  [eolproductions](https://wordpress.org/support/users/eolproductions/)
 * (@eolproductions)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/database-problem-33/)
 * Hi,
 * Im trying to transfer my wordpress blog to another website but having some trouble
   with the database. I have download the database from my old website and when 
   I upload it to phpMyAdmin on my new site, i get this error:
    [http://s21.postimg.org/6n9861s5j/screenshot.png](http://s21.postimg.org/6n9861s5j/screenshot.png)

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

 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/database-problem-33/#post-4166223)
 * You most likely either have the wrong username or password (or both) for the 
   new database.
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/database-problem-33/#post-4166298)
 * The problem is with the SQL export. While it’s valid, and correct… it shouldn’t
   be trying to recreate the database. It’s supposed to use the existing database
   that you’re administering at the time.
 * To get around this you should open the SQL file and comment out the `CREATE DATABASE`
   statement. Then try to mport the file again. eg:
 * `-- CREATE DATABASE IF NOT EXISTS...`
 * It’s the `--` at the front that will do the trick.

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

The topic ‘database problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/database-problem-33/#post-4166298)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
