mysql> create new_database; mysql> use new_database; mysql> source (Here you need to import the path of the SQL file); E.g.: mysql> source E:/test/dump.sql;