修改mysql远程连接_MySQL
时间:2021-07-01 10:21:17
帮助过:32人阅读
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