java.sql.SQLException: null message from server: “Host ‘%’ is not allowed to co
在阿里云 SUSE linux配置完mysql后,服务器端本身是可以访问数据库的如图: 但是在客户端不可以,服务启动时报错: java.sql.SQLException: null, message from server: “Host ‘223.72.41.7’ is not allowed to connect to this MySQL server” 客户端访问时报错: 解决方法: 1,登陆服务器 mysql> use mysql; //用mysql database 2,查询user表如下: 3,mysql> update user set host=’%’ where u
下载地址
用户评论