原文:idea鏈接數據庫出現Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.

每次都是這個問題,必須記錄下了 問題如下: 解決方案:修改mysql時區 .進入命令窗口 Win R ,連接數據庫mysql hlocalhost uroot p,回車,輸入密碼,回車,如圖: ,繼續輸入show variables like time zone 注意不要漏掉后面的分號 ,回車,如圖: 顯示 SYSTEM 就是沒有設置時區啦。 ,設置時區。 輸入set global time zo ...

2020-06-11 00:44 0 1714 推薦指數:

查看詳情

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