mysql開啓遠程連接

mysql在默認情況下是不允許進行遠程訪問的,默認情況如下: 1、修改權限,設置mysql密碼: grant all privileges  on *.* to [email protected]'%' identified by "root"; 2、允許任意用戶遠程連接:   update user set host = ’%’ where user = ’root’;
相關文章
相關標籤/搜索