Skip to content

Instantly share code, notes, and snippets.

@jansanchez
Last active December 28, 2015 04:18
Show Gist options
  • Save jansanchez/7441035 to your computer and use it in GitHub Desktop.
Save jansanchez/7441035 to your computer and use it in GitHub Desktop.
Import database from console

Import database from console

###Type in terminal

mysql -u root -p

###Type your password

use database-name;

###Import database

source /path/db.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment