![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常解决方案
文章平均质量分 55
丶自定义
学无止境!
展开
-
mysql Communications link failure 异常解决方案
主要异常信息(注意:解决方案在最后)The last packet successfully received from the server was 5,005 milliseconds ago. The last packet sent successfully to the server was 5,007 milliseconds ago.日志截图百度一下,一搜一大把资料,但是大致大多有一下两种方案1、修改mysql以下配置,重启mysqlset wait_timeou原创 2021-01-04 14:46:50 · 10769 阅读 · 4 评论 -
spring boot/cloud @Value注入yml / properties文件配置
场景:@Value 注解在 static 静态方法中注入失败,得到结果null ,原因:@value不能直接注入值给静态属性,spring 不允许/不支持把值注入到静态变量中。错误案例:取值不到,null@Value("${test01}")private static String test01;-----------------------------------...原创 2019-10-16 17:01:55 · 691 阅读 · 0 评论 -
mysql报错解决方式:1449 - The user specified as a definer (‘root‘@‘%‘) does not exist
从一个数据库数据迁移到本地localhost程序在调用到数据库的视图时报错,直接在数据库中打开视图时也报错,类似:mysql 1449 : The user specified as a definer ('root'@'%') does not exist经查询是权限问题,解决办法:运行sql:grant all privileges on *.* to 'root'...原创 2019-01-17 15:08:16 · 28079 阅读 · 10 评论 -
Redmine 新建和修改问题时,响应缓慢问题解决(亲测)
1.因为在新建问题和更新问题时会发送邮件,而且是同步操作的,就是说需要等到邮件发送成功后才会提交成功。发送邮件的方式改为异步操作:进到安装目录下: C:\Bitnami\redmine-3.4.6-4\apps\redmine\htdocs\config编辑 configuration.yml找到 delivery_method: :smtp,将smtp改为async_smtp,保...原创 2019-04-29 17:28:08 · 742 阅读 · 0 评论