Skip to content

Instantly share code, notes, and snippets.

@blairanderson
Forked from gnomet/Sharetribe DB installation
Last active October 11, 2016 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blairanderson/6b27e9afbdd331f763909860104a1829 to your computer and use it in GitHub Desktop.
Save blairanderson/6b27e9afbdd331f763909860104a1829 to your computer and use it in GitHub Desktop.
Running these commands in MySQL will create three databases where the user "sharetribe" has access. DON'T FORGET TO CHANGE ALL THE put_a_password_here PARTS TO A SECURE PASSWORD!
CREATE DATABASE sharegrid_test CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE DATABASE sharegrid_development CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT all privileges ON sharegrid_development.* TO 'root'@'localhost' IDENTIFIED BY 'secret';
GRANT all privileges ON sharegrid_test.* TO 'root'@'localhost' IDENTIFIED BY 'secret';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment