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

时间:2022-06-28 09:26:02

转: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'

Mysql提示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密码