出於安全原因,我不喜歡審計員有權修改表格的所有行。所以,我想:授予特定用戶修改特定表格行
GRANT UPDATE audit_comment ON cgis TO auditor IDENTIFIED BY '[email protected]';
但未能
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 'audit_comment ON cgis TO auditor IDENTIFIED BY '[email protected]'' at line 1
我GOOGLE了很多,但我無法找到答案,也許MySQL不允許我們這樣做呢?
呦你的鏈接不再顯示工作 – puk 2012-04-25 09:57:27
顯然他們已經從他們的網站刪除文章。爲什麼,我不知道,但谷歌無法再找到它的當前副本。這是來自Internet Archive的鏈接。 http://bit.ly/IE9dHW這裏還有一面鏡子:http://mirror.neu.edu.cn/mysql/tech-resources/articles/mysql-storedproc.html – 2012-05-07 03:36:07