Skip to content

Instantly share code, notes, and snippets.

@Prosen-Ghosh
Last active September 15, 2017 17:28
Show Gist options
  • Save Prosen-Ghosh/3e2232f3f2876db4619f18fb69f08f81 to your computer and use it in GitHub Desktop.
Save Prosen-Ghosh/3e2232f3f2876db4619f18fb69f08f81 to your computer and use it in GitHub Desktop.
Importing larger sql files into MySQL
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