[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

[box type=”warning”] Don’t put space after -p and then password[/box]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.