您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

mysql-使用druid连接池,出现以下错误

2024/3/8 14:50:34发布16次查看
mysqldruidexception
org.springframework.jdbc.uncategorizedsqlexception:
error updating database. cause: com.mysql.jdbc.exceptions.mysqltimeoutexception: statement cancelled due to timeout or client requestthe error may involve lotterymapper.insertmultichanceapp-inlinethe error occurred while setting parameterssql: insert into lottery (platform,activity,activity_id,openid,type,status,get_time) values (?,?,?, ?,?,?,?) , (?,?,?, ?,?,?,?) , (?,?,?, ?,?,?,?) , (?,?,?, ?,?,?,?)cause: com.mysql.jdbc.exceptions.mysqltimeoutexception: statement cancelled due to timeout or client request; uncategorized sqlexception for sql []; sql state [null]; error code [0]; statement cancelled due to timeout or client request; nested exception is com.mysql.jdbc.exceptions.mysqltimeoutexception: statement cancelled due to timeout or client request
我的druid的配置是
当表数据量达到2kw时,压测tps为2k,就会报者错误, 请问怎么去判断问题出在哪里,求大神帮忙,给解决思路!
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product