linux mysql解決遠程連接問題

1.開啓mysql  2.查看當前哪些用戶可以訪問 進入mysql shell show databases; use mysql ; select host, user ,password from user; 3.修改配置,在user表中添加所有用戶可以訪問本mysql服務 命令: grant all privileges on . to 'root'@'%' identified by '1
相關文章
相關標籤/搜索