問題:遇到mysql啓動提示 access denied for user root@localhost(using password:YES)
1、檢查密碼有無錯誤,如果無就是權限問題。
2、打開SQL的圖形工具,輸入以下命令行
grant all privileges on *.* to 'root'@'localhost' identified by '你的密碼' with grant option; flush privileges;
3、在本地環境運行沒有問題,如有異常,請留下評論,共同討論