EFAK icon indicating copy to clipboard operation
EFAK copied to clipboard

Mysql 8.0 connection bug

Open kenixFog opened this issue 4 years ago • 4 comments

创建connection时通过 MySqlStoragePlugin.getInstance(host + ":" + port + "/" + db, username, password)方法创建,传入参数抛弃了配置文件中数据库url中的参数信息,导致缺失时区属性,mysql8无法创建连接。

kenixFog avatar May 07 '21 05:05 kenixFog

解决了吗?我也是这个问题

RaymondNY avatar Jun 24 '21 01:06 RaymondNY

kafka-eagle-2.0.6 mysql8.0 我也碰到了无法获取jdbc connection的bug,而且这个时候产生了大量线程,pstree监控近4000个。 异常栈: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:

Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 180000, active 100, maxActive 100, creating 0, runningSqlCount 53: ……

yongjie-huang avatar Oct 27 '21 11:10 yongjie-huang

应该是表ke_logsize ke_consumer_bscreen数据量过大(4个小集群,半个月各500W+),导致sql性能很低,定时任务把配置的连接数占满了

yongjie-huang avatar Oct 27 '21 13:10 yongjie-huang

数据量大的时候,这两个表的很多sql根本跑不动

yongjie-huang avatar Oct 27 '21 13:10 yongjie-huang