Websites | Photography | Video Editing | 3D Animations

From the Blog


How to import new DB dump in MAMP command lines

Posted by Paul Costan on July 5th, 2012 at 11:39 am

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


  • Thanks for writing this resource on the internet.

  • Pretty nice post. I just stumbled upon your blog and wished to say that I’ve truly enjoyed browsing your blog posts. In any case I’ll be subscribing to your rss feed and I hope you write again very soon!

  • I’ve been browsing online more than 2 hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the internet will be a lot more useful than ever before.