设为首页 加入收藏

TOP

MySQL权限(三)
2014-11-23 23:40:37 来源: 作者: 【 】 浏览:31
Tags:MySQL 权限
p1 | localhost | pyt | Query | 0 | NULL | show processlist |

+—-+——+———–+——+———+——+——-+——————+

另外,

管理权限(如super,process,file等)不能够指定某个数据库,on后面必须跟*.*

mysql> grant super on pyt.* to p1@localhost;

ERROR 1221 (HY000): Incorrect usage of DB GRANT and GLOBAL PRIVILEGES

mysql> grant super on *.* to p1@localhost;

Query OK, 0 rows affected (0.01 sec)

本文出自 “技术” 博客

首页 上一页 1 2 3 下一页 尾页 3/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇mysql权限学习 下一篇 mysql重置权限

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: