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密碼


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM