MySQL
文章平均质量分 64
slsu
A coder for a day is a coder for a lifetime
展开
-
记springboot项目启动Communications link failure
1.项目启动时报如下异常: 2020-02-26 10:09:36.387 ERROR [main] ExApplicationRunListener:223-- 启动失败 com.acooly.module.scheduler.exceptions.SchedulerEngineException: [task1]启动失败:[task1]启动失败:Failure obtaining db row...原创 2020-02-26 15:40:16 · 4812 阅读 · 0 评论 -
MySQL 时区异常(time_zone)
MySQL 时区异常 异常信息为:The server time zone value ‘Öйú±ê׼ʱ¼ä’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configura...原创 2019-03-12 09:58:55 · 1908 阅读 · 0 评论 -
MySQL 8.x日期格式0000-00-00报错问题
MySQL 8.x日期格式0000-00-00报错问题 背景:数据库迁移时报错(Error 1292: Incorrect datetime value: ‘0000-00-00’ for column ‘字段’ at row 1) 原因:从MySQL5.6以后就默认设置不支持0000-00-00的日期格式; 解决方式: 查看当前数据库sql_mode 输入:select @@sql_mode;...原创 2019-03-12 10:18:32 · 2211 阅读 · 0 评论