How to import mysql dump in mac

    Open terminal and enter below command with path to the dump file
    apples-MacBook-Pro:~ apple$ /Applications/MAMP/Library/bin/mysql -u username -p databasename < "pathtodumpfile.sql"
    5
    Average: 5 (1 vote)