我在 mysql 终端中尝试了以下语句:
revoke file on *.* to 'john'@'localhost';
但我得到了错误:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to 'john'@'localhost'' at line 1
revoke 语句的正确语法是什么?我尝试阅读 mysql 文档但不明白。