- shell into vagrant box -
vagrant ssh
- install MySQL server -
sudo apt-get install mysql-server mysql-client
- open mysql -
sudo mysql -u root -p
- create project database -
CREATE DATABASE sublime;
- import sql -
mysql -u root -p sublime < sublime.sql
-
-
Save isaacrankin/a49123145df6c1409accbafcfe11a262 to your computer and use it in GitHub Desktop.
Vagrant MySQL server and database import
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment