Skip to content

Instantly share code, notes, and snippets.

@Gummibeer
Last active March 10, 2017 17:39
Show Gist options
  • Save Gummibeer/f23f8f11ed3db7922a97a072434af549 to your computer and use it in GitHub Desktop.
Save Gummibeer/f23f8f11ed3db7922a97a072434af549 to your computer and use it in GitHub Desktop.
CREATE DATABASE newuser_db;
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON `newuser\_%` . * TO 'newuser'@'localhost';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment