錯誤:The server time zone value '?й???????' is unrecognized or represents more than one time zone
原因:1.使用原mysql5.1.38不會出現(xiàn)該問題
? ? ? ? ? ? 2.因使用了Mysql最新版驅(qū)動所以報錯
解決方案:方案1、在項目代碼-數(shù)據(jù)庫連接URL后,加上 (注意大小寫必須一致)
?serverTimezone=UTC

方案2、在mysql中設(shè)置時區(qū),默認為SYSTEM
set global time_zone='+8:00'


注:轉(zhuǎn)載于https://www.cnblogs.com/shanelau/p/7041293.html