(Details of project in file)
Mac:
1) Open up the terminal, or if already in MySQL, get out by typing “exit” and pressing enter.
2) Type:
/usr/local/mysql/bin/mysqldump -u root -p [database name] > /tmp/filename.txt
…where [database name] is the name of the database you want to export. When prompted, type the password. Check the /tmp file for your output.