在面板里修改mysql的root账号的 默认密码后,phpmyadmin用改好的密码登录提示密码出错,mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES)然后用宝塔的重置mysql密码命令也是不行
cd /www/server/panel && python tools.py root 123456
用linux 命令 mysql -uroot -p 也无法登录
最后发现默认用密码能登录,就是面板上修改密码是无效的,然后看了日志 [Warning] 'user' entry 'root@localhost' has both a password and an authentication plugin specified. The password will be ignored.
|
|