解决方法,执行受权:grant all PRIVILEGES on xxxx.* to root@'%' identified by 'password' with grant option;xxxx为建立的数据库,password为root的密码。请按实际要求进行更改数据库