MySQL:开启远程访问权限
1、登录MySQL
mysql -u root -p
2、执行如下命令
grant all privileges on *.* to 'root'@'%.%.%.%' identified by 'password';
flush privileges;
1、登录MySQL
mysql -u root -p
2、执行如下命令
grant all privileges on *.* to 'root'@'%.%.%.%' identified by 'password';
flush privileges;