1 faied to connect to mysql at ip:3306 with user root
关闭防火墙 service IPtables stop or 开放3306端口
2 access denied for user root @localhost (using password yes)
修改密码
mysql -u root
use mysql
update user
set
password=PASSWORD(
"你的密码"
) where User =
'root'
;