Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shannonborden/350895d6402f95c07953194bcdf04192 to your computer and use it in GitHub Desktop.
Save shannonborden/350895d6402f95c07953194bcdf04192 to your computer and use it in GitHub Desktop.
Import Database using Command Line Interface
mysql -u [username] -p -e "create database [databasename];"
mysql -u[username] -p [databasename] < [.sql filename]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment