MySQL:使用NavicatIP遠程連接失敗,提示「is not allowed to connect to this MySql server」

問題: 使用Navicat Premium用IP遠程連接MySQL時失敗,提示「is not allowed to connect to this MySql server」,但在本地用localhost代替IP訪問卻正常。   解決方案: 修改mysql庫中的user表,將用戶root對應的Host值由localhost改爲%,並且重啓mysql服務生效。 方法1(最簡單):使用Navicat
相關文章
相關標籤/搜索