Revoking privileges : REVOKE : Privilege MySQL TUTORIALS


MySQL TUTORIALS » Privilege » REVOKE »

 

Revoking privileges


Revoking privileges is almost identical to granting them as you simply substitute RE VOKE.... FROM for GRANT....TO and omit any passwords or other options.

For example to REVOKE the privileges assigned to a user called 'bad':

mysql> REVOKE ALL PRIVILEGES
    -> ON myDatabase.*
    -> FROM bad@localhost;



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Privilege
» REVOKE