首页 / 浏览问题 / 桌面GIS / 问题详情
超图FAQ:【iDesktopX】【11.0.1】桌面软件远程连接MySQL数据源失败,日志报错:Host is not allowed to connect to this MySQL server,是什么原因?数据库版本是mysql 5.7.x。
44,106EXP 2023年04月11日
【iDesktopX】【11.0.1】桌面软件远程连接MySQL数据源失败,日志报错:Host is not allowed to connect to this MySQL server,是什么原因?数据库版本是mysql 5.7.x。

1个回答

【问题原因】 数据库服务端未配置host,导致无法远程连接。 【解决办法】 数据库服务端登录,开启用户允许远程登录的机器为所有,步骤如下: 1、在装有MySQL的机器上登录MySQL mysql -u root -p密码; 2、执行use mysql; 3、执行update user set host = '%' where user = 'supermap'; 4、执行FLUSH PRIVILEGES;
44,106EXP 2023年04月11日
热门文章
关注我们
...