Skip to content

Instantly share code, notes, and snippets.

@whomwah
Last active April 11, 2019 08:07
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 whomwah/1835613 to your computer and use it in GitHub Desktop.
Save whomwah/1835613 to your computer and use it in GitHub Desktop.
[mysql] Adding and removing Mysql privileges #mysql

add privs

grant all on database.* to 'wl'@'10.10.12.111' identified by 'password';

remove privs

revoke all on database.* from 'wl'@'10.10.12.111';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment