Skip to content

Instantly share code, notes, and snippets.

@the-teacher
Created October 16, 2015 07:49
Show Gist options
  • Save the-teacher/73c51d32f628ae088900 to your computer and use it in GitHub Desktop.
Save the-teacher/73c51d32f628ae088900 to your computer and use it in GitHub Desktop.
> CREATE USER 'edu37'@'localhost' IDENTIFIED BY '***';
> GRANT USAGE ON * . * TO 'edu37'@'localhost' IDENTIFIED BY '***' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
> GRANT ALL PRIVILEGES ON `edu37_production` . * TO 'edu37'@'localhost';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment