← back to code snippets


Import DB Backup on WordPress MySQL

Posted on October 11th, 2018 by Graeme

/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot db_name < db_dump.sql

 

https://stackoverflow.com/questions/17171780/importing-a-sql-db-into-mysql-using-the-terminal