mysql 错误解决 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
环境:centos6.6mysql:5.5.39解决问题步骤:1.在mysql关闭的情况下:/etc/init.d/mysqlstart--skip-grant-tables2.接下来直接连接mysql,进入mysql命令行mysql-urootmysql
mysql>UPDATEuserSETPassword=PASSWORD('123456')whereUSER='root';
mysql>F