Forked from aayushdrolia/gist:56d8b1cfc1deabf9f479e01111b56b0a
Created
October 12, 2017 06:42
-
-
Save shannonborden/350895d6402f95c07953194bcdf04192 to your computer and use it in GitHub Desktop.
Import Database using Command Line Interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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