MySQL设置可以远程连接 在MySQL命令行执行如下: use mysql; grant all privileges on *.* to root@'%' identified by "password";