Revoking MySQL Permissions

Usage:

Shell
1
2
mysql> revoke PRIVILEGES [, GRANT OPTION] from 'USERNAME'@'SERVER';
mysql> flush privileges;

Example:

Shell
1
2
mysql> revoke all privileges, grant option from 'comsiteuatusr'@'10.135.7.114';
Query OK, 0 rows affected (0.00 sec)
Shell
1
2
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

See Also

2 thoughts on “Revoking MySQL Permissions

  1. hi, brother.
    I have readed your post about haproxy-mysql. it’s good for me ..

    many thanks for your sharing .

    but ,I have a question about mysql Data validation without locking tables.
    I didn’t find a tool could do this without locking tables

    could you tell me how could I check the data?

    this si my email address
    brentch@163.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>