Skip to content

Instantly share code, notes, and snippets.

@voleoo
Last active December 22, 2015 08:48
Show Gist options
  • Save voleoo/6447040 to your computer and use it in GitHub Desktop.
Save voleoo/6447040 to your computer and use it in GitHub Desktop.
mysql -u root -p -e "create database base_name"
mysqldump -h localhost -u root -p base_name > base_name_1378306025.sql
mysql --max-allowed-packet=500M -h localhost -u root -p base_name < base_name_1378306025.sql
-------
cd /Applications/XAMPP/xamppfiles/bin
./mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment