【发布时间】:2009-09-07 08:37:57
【问题描述】:
如何在单个语句中授予对多个表的选择权限?
mysql> grant select on dbName.crw_changes to sink;
Query OK, 0 rows affected (0.02 sec)
mysql> grant select on dbName.crw_changes, dbName.bs_services to sink;
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 ' dbName.bs_services at line 1
【问题讨论】:
-
如果您查看了之前问题的答案并接受了其中至少几个问题的答案,那将是一件好事。
标签: mysql privileges mysql-error-1064 sql-grant