Quick BI本地安装的MySQL数据库无法连通。报错"java.sql.SQLException: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure\n\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from t

更新时间:

【问题描述】

Quick BI本地安装的MySQL数据库无法连通。报错"java.sql.SQLException: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure\n\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server."

【解决方案】

需要把添加MySQL数据源时,界面提示的IP添加到MySQL的白名单中。

【适用于】

Quick BI 专业版 v5.1.1