欢迎投稿

今日深度:

MySQL错误日志显示(Got an error reading communication packets)的问题,mysqlpackets

MySQL错误日志显示(Got an error reading communication packets)的问题,mysqlpackets


错误显示:

2019-05-28T12:54:08.267934+08:00 820396 [Note] Aborted connection 820396 to db: 'Databaseplatform_sms' user: 'xxxxx_user host: '10.140.0.3' (Got an error reading communication packets)

 

产生问题的原因:

  有可能是生产网络环境丢包或数据库配置或应用层程序数据源连接池频繁中断等原因导致。

 

解决问题的方法:

  1、需要排除网络环境是否丢包,

  2、还有数据库超时参数是否配置正确

  3、检查应用程序数据源连接池是否频繁中断

  这里遇到原因由监控成功率应用程序连接数据库采用数据源连接池来查询数据导致数据源连接池频繁中断,解决方法把程序修改为jdbc单连接查询方式,问题解决。

www.htsjk.Com true http://www.htsjk.com/Mysql/24868.html NewsArticle MySQL错误日志显示(Got an error reading communication packets)的问题,mysqlpackets 错误显示: 2019-05-28T12:54:08.267934+08:00 820396 [Note] Aborted connection 820396 to db: 'Databaseplatform_sms' user: 'xxxxx_user host: '10.1...
相关文章
    暂无相关文章
评论暂时关闭