摘要:系统症状: 某个功能报错: 但是数据库链接并没有用完。重启一下tomcat就好了,但是过十几分钟又报错,如此反复。 怀疑是数据库连接泄露。于是加入下面的配置进行调查: 查到报错信息: [ERROR] com.alibaba.druid.pool.DruidDataSource.removeAband
阅读全文
06 2019 档案
摘要:1. 禁用 yum插件 fastestmirror 1)修改插件的配置文件 # cp /etc/yum/pluginconf.d/fastestmirror.conf /etc/yum/pluginconf.d/fastestmirror.conf.bak # vi /etc/yum/pluginc
阅读全文
摘要:1. 乱码问题 编辑目标数据库的链接: 配置编码参数即可。 2. 报错 No operations allowed after statement closed. 需要调整wait_timeout: set global wait_timeout=1000000; 3. net_write_time
阅读全文