MySQL:允许root远程
mysql -uroot -p'password'
grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;
flush privileges;
mysql -uroot -p'password'
grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;
flush privileges;