Skip to content

Instantly share code, notes, and snippets.

@michaeldeol
Created May 7, 2013 06:09
Show Gist options
  • Save michaeldeol/5530558 to your computer and use it in GitHub Desktop.
Save michaeldeol/5530558 to your computer and use it in GitHub Desktop.
How to create a Magento DB in Vagrant.
$ vagrant ssh
$ mysql -u root -p
mysql > CREATE DATABASE magento;
mysql > GRANT ALL ON magento.* to magento@localhost IDENTIFIED BY 'magento';
mysql > exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment