grant all privileges on *.* to root@'%' identified by 'root' 修改云主机上的/etc/mysql/my.cnf 文件,注释掉 bind_address=127.0.0.1。这句ok grant all privileges on *.* to root@'%' identified by 'root' 修改云主机上的/etc/mysql/my.cnf 文件,注释掉 bind_address=127.0.0.1。这句ok