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

Viewed 32877

I wonder how I can add mysqldump to my MAMP environment. I googled a bit and found only the community MySQL server version. But I do not want to install another MySQL – basically because I want to save my data first, before any experiment.

5 Answers

This will helps you to resolve:

  1. In your home directory create or edit the file .bash_profile you can access your home directory by typing: cd ~/
  2. Add this to the top of the file:

    export PATH=$PATH:/Applications/MAMP/Library/bin

  3. Save the file and then restart your Terminal

  4. In your newly restarted Terminal window type: mysql –version
Related