首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Mysql >

初学者问mysql语法(grant)

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

热点排行