数据库没有设置远程登录 cmd进入mysql 输入grant all PRIVILEGES on mytest.* to root@'%' identified by 'zxc123456';FLUSH PRIVILEGES;