Last active
August 29, 2015 14:09
-
-
Save afurculita/598bf1aef83fdb421b19 to your computer and use it in GitHub Desktop.
Best way to import large databases in MySql
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
mysql -u database_user_name -p -D database_name < complete_file_path_with_file_name_and_extension | |
Here | |
u stands for User | |
p stands for Password | |
D stands for Database | |
Complete file path with name and extension can be like | |
c:\folder_name\"folder name"\sql_file.sql | |
---IF YOUR FOLDER AND FILE NAME CONTAINS SPACE THAN BIND THEM USING DOUBLE QUOTE--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment