原文:IDEA連接mysql數據庫發生的錯誤! Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon'

錯誤提示信息:Server returns invalid timezone. Go to Advanced tab and set serverTimezon 。 出現該問題的原因是MySQL驅動jar中的默認時區是UTC。 UTC代表的是全球標准時間 ,但是我們使用的時區是東八區,領先UTC八個小時。 在mysql命令窗口下輸入: show variables like time zone 如 ...

2020-01-16 10:07 0 1498 推薦指數:

查看詳情

IDEA連接mysql又報錯!Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' prope

錯誤界面 IDEA連接mysql,地址,用戶名,密碼,數據庫名,全都配置好了,點測試連接,咔!不成功! 界面是這樣的, 翻譯過來就是:服務器返回無效時區。進入“高級”選項卡,手動設置“serverTimezone”屬性。 看起來是時區出了問題。時區怎么會出問題?坑真多 ...

Mon Jan 27 02:02:00 CST 2020 3 2477
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM