Access denied; you need (at least one of) the PROCESS privilege(s)

Access denied; you need (at least one of) the PROCESS privilege(s)

使用navicat时遇到Access denied; you need (at least one of) the PROCESS privilege(s)错误;
原因是当前用户没有PROCESS权限。使用root用户给当前用户授予PROCESS权限即可。

GRANT PROCESS ON . TO ‘admin’@’%’;

1
注:必须给admin授予所有数据库的PROCESS权限才能授权成功,Mysql版本为5.7

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
错误信息"1227 - Access denied; you need (at least one of) the PROCESS privilege(s) for this operation"表示当前用户缺少至少一个PROCESS权限,这是用来查看连接到数据库的用户的权限。除了root用户,其他用户只能看到自己的连接信息。 为了解决这个问题,你可以使用root账号给当前用户赋予PROCESS权限。具体的步骤如下: 1. 登录到MySQL数据库,使用root账号。 2. 执行以下命令,将PROCESS权限授予当前用户: ``` GRANT PROCESS ON *.* TO '数据库用户名'; ``` 请将'数据库用户名'替换为你要授予权限的用户的用户名。 通过执行上述命令,你就可以为当前用户赋予PROCESS权限,从而解决"1227 - Access denied; you need (at least one of) the PROCESS privilege(s) for this operation"错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [解决mysql ERROR 1045 (28000)-- Access denied for user问题](https://download.csdn.net/download/weixin_38661650/12825816)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [1227- Access denied; you need (at least one of) the PROCESS privilege(s) for this operation](https://blog.csdn.net/LG_15011399296/article/details/125482442)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [【已解决】1227- Access denied... you need (at least one of) the PROCESS privilege(s) for this operation](https://blog.csdn.net/lh155136/article/details/117219380)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值