信了如下几个报错的邪
mysqladmin更改密码无效
“Access denied for user 'root'@'localhost'”
“mysqladmin: connect to server at 'localhost' failed”
“mysqladmin: Can't turn off logging; error: 'Access denied; you need (at least one of) the SUPER privilege(s) for this operation'”
背景:centos6.10中安装5.5.62
解决方法:
1.kill pid #结束数据库进程
2.vi /data/3307/mysql
#启动文件文件中配置--skip-grant-tables,注释掉mysql_pwd="oldboy123",不需修改my.cnf文件