idea關聯mysql時報錯Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon'

解決辦法:mysql 1.進入命令窗口(Win + R),鏈接數據庫 mysql -uroot -p,回車,輸入密碼,回車,輸入:show variables like'%time_zone';如圖:sql 2.設置北京時區,set global time_zone='+8:00';正常狀況以下:數據庫 這時你從新鏈接下數據庫,也許能鏈接成功!ide ps:當數據庫在執行其餘任務時,set glo
相關文章
相關標籤/搜索