标签:tps rest 解决方案 evel enc erro mysq 输入 mysql安装
原文链接:https://cloud.tencent.com/developer/article/1188636
/etc/init.d/mysql stop (或者直接 kill -9 [PID] 杀进程!)
这里的路径填自己mysql安装路径
mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD(‘newpassword‘) where USER=‘root‘;
mysql> UPDATE user SET authentication_string=PASSWORD(‘newpassword‘) where USER=‘root‘;
mysql> FLUSH PRIVILEGES;
mysql> quit
/etc/init.d/mysqld restart
mysql -uroot -p Enter password: <输入新设的密码newpassword>
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES/NO) 解决方案1.停止mysql
标签:tps rest 解决方案 evel enc erro mysq 输入 mysql安装
原文地址:https://www.cnblogs.com/xiesx/p/11477331.html