mysql 开启root远程访问权限

grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option;
flush privileges;

第一个root:账号
第二个root:密码
%标识所有ip

猜你喜欢

转载自blog.csdn.net/chen462488588/article/details/113975304