Quick BI数据集抽取加速失败报错:“[QE5206002] sync error. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Application was streaming results when the connection failed. Consider raising value of 'net_write_timeout' on the server.”
更新时间:
【问题描述】
Quick BI数据集抽取加速失败报错:“[QE5206002] sync error. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Application was streaming results when the connection failed. Consider raising value of 'net_write_timeout' on the server.”
【问题原因】
应用程序在从数据库服务器流式传输结果(可能是大型查询结果集)时,连接失败了。这个问题可能是因为在传输 期间网络连接中断,或者数据库服务器上配置的net_write_timeout 值太小,导致了超时。
【解决方案】
增加net_write_timeout值:你可以增加MySQL服务器配置中的net_write—timeout值,这样就会允许更长时间的写操作完成。在MySQL服务器的配置文件(如my·cnf或者my.ini)中设置:[mysqld]net_write_timeout=180上面的例子将超时设置为180秒。根据你的需要,你可能需要设置一个更高的值。更改配置后,需要重启MySQL服务才能使更改生效。
【适用于】
Quick BI 专业版 v5.1
该文章对您有帮助吗?