Skip to content

Instantly share code, notes, and snippets.

@fprieur
Created August 21, 2012 14:00
Show Gist options
  • Save fprieur/3415712 to your computer and use it in GitHub Desktop.
Save fprieur/3415712 to your computer and use it in GitHub Desktop.
Import database from file on command line
mysql -u username -p database_name < textfilewithsqlstatments.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment