MySQl 5.0 如何 grant super 权限给用户呢?

wxfspiderman 2007-07-01 07:28:05

MySQl 5.0 如何 grant super 权限给用户呢? 执行以下总是不行.

mysql> GRANT super ON test.* TO user01@localhost;

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

...全文
1421 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
cumtshine 2007-07-04
  • 打赏
  • 举报
回复
楼上正解
火雲邪神 2007-07-04
  • 打赏
  • 举报
回复

Hi

grant all privileges on test.* to user01@localhost identified by 'password';
flush privileges;

from Peter (www.kingofcoder.com编程王站站长)
火雲邪神 2007-07-04
  • 打赏
  • 举报
回复
Hi

grant all provileges on test.* to user01@localhost identified by 'password';
flush privileges;

from Peter (www.kingofcoder.com编程王站站长)
懒得去死 2007-07-02
  • 打赏
  • 举报
回复
grant super on test.* to 'user01'@'localhost';

56,679

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧