Skip to content

Instantly share code, notes, and snippets.

@leobaiano
Forked from oliveratgithub/mamp-sql-dump-export.sh
Created November 27, 2018 02:23
Show Gist options
  • Save leobaiano/8cb07c547358dca6eb8fcd1333ecfecd to your computer and use it in GitHub Desktop.
Save leobaiano/8cb07c547358dca6eb8fcd1333ecfecd to your computer and use it in GitHub Desktop.
MAMP MySQL dump export using Terminal.app in macOS
$ cd /Applications/MAMP/Library/bin/
$ ./mysqldump --host=localhost -uroot -proot source_database > ~/Desktop/database_name-dump.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment