不涉及
不涉及
某局点iMC EIA产品开局,初始很多进程启动失败,经排查是数据库连接数没有修改,按要求修改了数据库连接数后mschapv2进程依然启动异常。
查看startmhapv2Jserver日志发现有如下报文
Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: 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 configuration property) to use a more specifc time zone value if you want to utilize time zone support.
该报错的原因是数据时区与服务器时区不一致
查看数据库当前时区,show variables like "%time_zone";回显如下,此时time_zone 值为SYSTEM表示数据库文件中的defaul-time-zone配置没有生效
查看数据库配置文件发现defaul-time-zone配置为有中文符号。
修改配置文件后解决
配置正确的配置文件,通过show variables like "%time_zone";回显如下
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作