Remote database connection is usually slow. This bash script a solution to the problem of the local database sync, while working as a team.
Shortly, It's a minimal dump-restore script for MAC OSX - MAMP Mysql Library. If you want to use another mysql lib location you can change this line;
export PATH=$PATH:/Applications/MAMP/Library/bin/
Usage;
sh mysql-sync.sh