How To Restore and Import MySQL Database

You should upload the dump file to the MySQL server, and type this command to import the databases into the MySQL server.

mysql -u username –ppassword database_name < dump.sql
Don’t put space after -p and then password

Leave a Reply

Your email address will not be published. Required fields are marked *