初学者问mysql语法(grant)

菜鸟问mysql语法(grant)SQL codegrant select,delete,update on localhost.library to exp04@localhost

菜鸟问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';