2020.6.18工作問題記錄————IDEA整合數據庫錯誤Server returns invalid timezone.

工作問題記錄————IDEA整合數據庫錯誤Server returns invalid timezone.

idea連接mysql報錯Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezone’ property。

原因:服務器返回無效時區,轉到“高級”選項卡並手動設置“serverTimezone”屬性。
在mysql的命令行窗口輸入以下命令即可:
show variables like ‘%time_zone%’;
set global time_zone=’+8:00’;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章