Skip to content

Instantly share code, notes, and snippets.

@isaacrankin
Last active April 14, 2016 23:56
Show Gist options
  • Save isaacrankin/a49123145df6c1409accbafcfe11a262 to your computer and use it in GitHub Desktop.
Save isaacrankin/a49123145df6c1409accbafcfe11a262 to your computer and use it in GitHub Desktop.
Vagrant MySQL server and database import
  1. shell into vagrant box - vagrant ssh
  2. install MySQL server - sudo apt-get install mysql-server mysql-client
  3. open mysql - sudo mysql -u root -p
  4. create project database - CREATE DATABASE sublime;
  5. import sql - mysql -u root -p sublime < sublime.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment