Here is a tip how to create and import database dump to your MAMP phpMyAdmin using Terminal command line:
/Applications/MAMP/Library/bin/mysql –host=localhost -uroot -proot –default-character-set=utf8 DB-NAME < /Users/name/Desktop/sqldump.sql
Copy and paste line below to access DB:
/Applications/MAMP/Library/bin/mysql –host=localhost -uroot -proot
Comments are closed