Mysql提示you need the SUPER privilege for this operation的解决办法

Posted whatstone

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Mysql提示you need the SUPER privilege for this operation的解决办法相关的知识,希望对你有一定的参考价值。

转:https://hbiao68.iteye.com/blog/2211734

 

在fedora14上直接yum install mysql mysqlserver装好mysql之后

用mysqladmin修改密码提示

mysqladmin: Can‘t turn off logging; error: ‘Access denied; you need the SUPER privilege for this operation‘

技术图片

 

 mysqladmin: Can‘t turn off logging; error: ‘Access denied; you need the SUPER privilege for this operation‘

 

解决办法:

    修改mysql登录设置

    vi /etc/my.cnf(windows下是my.ini)

    在[mysqld]段中加入 skip-grant-tables

    保存之后重启mysql服务

    service mysqld restart

    或者直接service mysqld stop

    mysqld_safe skip-grant-tables 效果一样。

 

 

重启mysql服务之后修改mysql密码

以上是关于Mysql提示you need the SUPER privilege for this operation的解决办法的主要内容,如果未能解决你的问题,请参考以下文章

you need (at least one of) the RELOAD privilege(s) for this operation

解决MySQL8 #1227 – Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for this ...

[error:没有解析库]Couldn't find a tree builder with the features you requested: xml. Do you need to i

mysql报错:You do not have the SUPER privilege and binary logging is enabled

The React Router Cheatsheet – Everything You Need to Know

Cannot find name ‘Set‘. Do you need to change your target library? Try changing the `lib` compiler o