【发布时间】:2012-11-25 14:46:04
【问题描述】:
我在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文档但不明白。
【问题讨论】: