3
无法删除“ GRANT USAGE”
我正在测试一些东西,并添加了: grant usage on statistics.* to cptnotsoawesome@localhost identified by 'password'; 所以现在当我做 show grants for cptnotsoawesome@localhost; 我可以看到其中之一是: Grants for cptnotsoawesome@localhost ---------------------------------- GRANT USAGE ON *.* TO 'cptnotsoawesome'@'localhost' IDENTIFIED BY PASSWORD 'somePEW-PEWstring' 现在,我想删除它,因为我认为这是安全隐患,因此我执行以下操作: REVOKE USAGE ON *.* FROM 'cptnotsoawesome'@'localhost' IDENTIFIED BY 'password'; FLUSH PRIVILEGES; 但它仍显示USAGE授予在授予列表中。 Grants for cptnotsoawesome@localhost ---------------------------------- GRANT USAGE ON …
15
mysql
permissions