DEV Community

mhsohag11
mhsohag11

Posted on

Answer: Add mysqldump to MAMP (MySQL /w Apache PHP on MacOS X)

Found the solution on my own. Maybe this helps other Mac users In fact mysqldump ships with MAMP but is located somewhere in the desert:

/Applications/MAMP/Library/bin/mysqldump

That´s why tools like MySQL workbench do not find it, neither does it work in terminal without the path. So finally just type:

/Applications/MAMP/Library/bin/mysqldump

Top comments (1)

Collapse
 
leslieeeee profile image
Leslie

Have you tried ServBay.dev?
A much easier tool for PHP developer, which provides a much easier way, especially for beginners. It handles all versions of PHP, MariaDB, PostgreSQL, as well as Redis and Memcached. You can run multiple PHP instances simultaneously and switch between them effortlessly, without the need for any environment setup. This tool has simplified my PHP development and is definitely worth a try!