Collections:
Revoking User Privileges in MySQL
How To Revoke User Privileges in MySQL?
✍: FYIcenter.com
If your want remove some granted user privileges, you can use the "REVOKE privilegeName ..." command. You can only revoke privileges in the same way as they were granted. For example, you can not revoke a privilege on a specific database, if that privilege was granted to all databases. The following tutorial exercise shows you how to view user's granted privileges:
>cd \mysql\bin >mysql -u root -pretneciyf mysql> GRANT CREATE ON *.* TO DEV; Query OK, 0 rows affected (0.00 sec) mysql> REVOKE CREATE ON QA.* FROM DEV; ERROR 1141 (42000): There is no such grant defined for user 'DEV' on host '%' mysql> REVOKE CREATE ON *.* FROM DEV; Query OK, 0 rows affected (0.00 sec)
⇒ Giving User Read-only Access in MySQL
⇐ Viewing User Privileges in MySQL
2017-08-21, 2750🔥, 0💬
Popular Posts:
How To Install Oracle Database 10g XE in Oracle? To install 10g universal edition, double click, Ora...
How To Convert Characters to Numbers in Oracle? You can convert characters to numbers by using the T...
Where to find reference information and tutorials on MySQL database functions? I want to know how to...
How To Insert New Line Characters into Strings in SQL Server Transact-SQL? If you want to break a st...
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...