Skip to content

Instantly share code, notes, and snippets.

@ChezFre
Last active August 29, 2015 13:59
Show Gist options
  • Save ChezFre/10642241 to your computer and use it in GitHub Desktop.
Save ChezFre/10642241 to your computer and use it in GitHub Desktop.
Import MySQL Database via CLI
mysql -u username -p database < file.sql
/*******
** OF **
*******/
mysql -u username -pPASSWORD
> source file.sql;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment