Skip to content

Instantly share code, notes, and snippets.

@geek182
Last active June 9, 2017 16:41
Show Gist options
  • Save geek182/913655e9b64e173bca74be6ddc4448dd to your computer and use it in GitHub Desktop.
Save geek182/913655e9b64e173bca74be6ddc4448dd to your computer and use it in GitHub Desktop.
quick commans for daily
#create user
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
% = anywhere
#Permission
GRANT SELECT, INSERT ON *.* TO 'someuser'@'somehost';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment