Created
December 22, 2014 10:03
-
-
Save eschmar/7e47eca3e1a86bdc2a50 to your computer and use it in GitHub Desktop.
Large MySQL dump import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# shorthand | |
mysql -u root <database_name> < <sql_file_path> | |
# long | |
mysql -u root -p | |
use <database_name> | |
source <sql_file_path> | |
# windows phpmyadmin alias | |
importmysql=C:\xampp\mysql\bin\mysql.exe -u root $1 < $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment