user$ mysql -u root -pEnter password: xxxxmysql> CREATE DATABASE dbname; -- if dbname does not yet existmysql> USE dbname;mysql> SOURCE backupfile;