Navicate遠程鏈接報錯1045 access denied for user'root'@'ip'(using pasword:yes)

 1.在linux終端上輸入mysql -uroot -p ,而後回車輸入數據庫的密碼mysql   2.mysql> GRANT ALL PRIVILEGES ON*.*TO'root'@'%' IDENTIFIED BY'xxxxxx'WITH GRANT OPTION;linux   3.mysql> flush privileges;sql   PS . xxxxxx表示你的數據庫root
相關文章
相關標籤/搜索