日期:2014-05-16  浏览次数:20793 次

菜鸟问mysql语法(grant)
SQL code
grant select,delete,update on localhost.library to 'exp04'@'localhost' identified by '12345';


为什么执行这条语句会报错呢:
Table 'localhost.library' doesn't exist

------解决方案--------------------
grant select,delete,update on library.* to 'exp04'@'localhost' identified by '12345';