I have a database called nitm. I haven\'t created any tables there. But I have a SQL file which contains all the necessary data for the database. The file is
nitm
Don't forget to use
charset utf8
If your sql file is in utf-8 :)
So you need to do:
cmd.exe mysql -u root mysql> charset utf8 mysql> use mydbname mysql> source C:\myfolder\myfile.sql
cmd.exe
mysql -u root
mysql> charset utf8
mysql> use mydbname
mysql> source C:\myfolder\myfile.sql
Good luck ))