MySQL報錯:Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manu

錯誤:Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.
    服務器返回無效時區。轉到「高級」選項卡並手動設置「serverTimezone」屬性。mysql

 

mysql -u root -psql

mysql>show variables like '%time_zone%';服務器

mysql>set global time_zone='+8:00';spa

 

問題:每次重啓服務都要從新配置一遍。server

解決:mysql>set persist time_zone='+8:00';class

相關文章
相關標籤/搜索