Skip to content

Instantly share code, notes, and snippets.

@whomwah
Last active April 11, 2019 08:07
Show Gist options
  • Select an option

  • Save whomwah/1835613 to your computer and use it in GitHub Desktop.

Select an option

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