首頁 >資料庫 >mysql教程 >修改mysql远程连接_MySQL

修改mysql远程连接_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原創
2016-06-01 13:43:56987瀏覽

bitsCN.com --修改用户远程连接权限
update user set host = '%' where user = 'root'; 
select host, user from user;
 
--开启远程连接
grant all privileges on *.* to 'root' @'%' identified by 'root'; 
flush privileges;
 
注:mysql密码必须为root bitsCN.com

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn