mysql重连服务器失败_java – MySQL连接器错误“服务器时区值中...
參見英文答案 > The server time zone value ‘AEST’ is unrecognized or represents more than one time zone????????????????????????????????????9個
我的問題
MySQL連接器“服務器時區值中歐時間”無法識別或代表多個時區.
該項目
小型網站項目:
JavaEE,Tomcat 8.5,MySQL,Maven
我的嘗試
> Maven – >將MySQL-connector格式6.x更改為5.1.39(無更改)
>編輯context.xml URL更改
context.xml中的連接
URL =“jdbc:mysql://127.0.0.1:3306 / rk_tu_lager?useLegacyDatetimeCode = false; serverTimezone = CEST; useSSL = false;
錯誤:
Caused by:
com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The
server time zone value ‘Mitteleurop?ische Sommerzeit’ 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.
總結
以上是生活随笔為你收集整理的mysql重连服务器失败_java – MySQL连接器错误“服务器时区值中...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 民生国航知音联名卡申请多久下卡
- 下一篇: 2017最新民生车车信用卡申请条件及额度