Mysql允许远程连接/访问

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY 'xxx' WITH GRANT OPTION;