centos mysql 容許遠程訪問

一、首先進入數據庫,使用系統數據庫mysql,登陸mysql mysql -u root -p mysql 二、對系統數據庫的root帳戶設置遠程訪問的密碼,與本地的root訪問密碼並不衝突。123456爲我設置的密碼web grant all privileges on *.* to 'root'@'%%' identified by '123456' with grant option; 三、
相關文章
相關標籤/搜索