Last active
September 15, 2017 17:28
-
-
Save Prosen-Ghosh/3e2232f3f2876db4619f18fb69f08f81 to your computer and use it in GitHub Desktop.
Importing larger sql files into 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
You can import large file using this command line way 2: | |
mysql -h localhost -u root -p | |
give the password | |
mysql> use database name | |
mysql> source path/example.sql | |
You can import large file using this command line way 2: | |
mysql -u root -p dbName < path/example.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment