- Create the new database on your server, then write down the name.
- Open your .sql file with a text editor
- Insert the following line right before the first
CREATE TABLE
instruction in your .sql file:USE your_database_name_here;
- Save your file, then import it in phpMyAdmin.
Reference :
wisercoder