Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to problem with import database

Re: problem with import database

You have to create the database and a user before you import. If you have already created the database and have a user defined, then you can fix the problem by either:
1) Selecting the database before selecting the import option in phpmyadmin. The phpmyadmin heading has to be something like "localhost databasename", you have to do this so it knows which database to import the data into.
or
2) Edit the text of the mysql dump and add the following line before any other mysql statements:

Copy to clipboard
USE databasename;

That line will tell mysql which database to import the data into.