MySQL:允许root远程

来自WHY42
mysql -uroot -p'password'

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