MySQL配置允许远程连接
2017-11-14 本文已影响0人
Amanda_cq
mysql -u root -p
回车,输入密码
use mysql;
select user,host from user;
grant all privileges on *.* to root@"xxx.xxx.xxx.xxx" identified by "密码";
flush privileges;
mysql -u root -p
回车,输入密码
use mysql;
select user,host from user;
grant all privileges on *.* to root@"xxx.xxx.xxx.xxx" identified by "密码";
flush privileges;