MySQL用户新建表报1227异常

首页 编程分享 DB丨SERVICE 正文

執孒の掱,與 转载 编程分享 2023-05-20 20:31:10

简介 1、MySQL8新建用户create user 'firestone'@'%' identified by '123456';2、给用户授予test库所有权限grant all privileges on firestone_pretank.* to 'firestone'@'%' ;3、刷新权限flush privileges;4、使用navicat链接测试5、点击右键新建表6、弹出异常如下,1


1、MySQL8新建用户

create user 'firestone'@'%' identified by '123456';

2、给用户授予test库所有权限

grant all privileges on firestone_pretank.* to 'firestone'@'%' ;

3、刷新权限

flush privileges;

4、使用navicat链接测试

5、点击右键新建表

6、弹出异常如下,1227 - Access denied; you need (at least one of) the PROCESS privilege(s) for this operation,出现这个错误,点确定就可以了,不影响我们操作。如果想要这个错误不出现,需要在root用户下,给XXX赋予process权限

7、解决办法

7.1grant process on *.* to firestone;

7.2 flush privileges;

7.3不弹异常,问题解决。


转载链接:https://blog.51cto.com/u_15130867/6105982


Tags:


本篇评论 —— 揽流光,涤眉霜,清露烈酒一口话苍茫。


    声明:参照站内规则,不文明言论将会删除,谢谢合作。


      最新评论




ABOUT ME

Blogger:袅袅牧童 | Arkin

Ido:PHP攻城狮

WeChat:nnmutong

Email:nnmutong@icloud.com

标签云