1. 首页
  2. 操作系统
  3. 桌面系统
  4. java.sql.SQLException: null message from server: “Host ‘%’ is not allowed to co

java.sql.SQLException: null message from server: “Host ‘%’ is not allowed to co

上传者: 2020-12-17 02:39:18上传 PDF文件 72.36KB 热度 31次
在阿里云 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
下载地址
用户评论