mysql時區問題(The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one ---)

緣由:mysql 這都是由於安裝mysql的時候時區設置的不正確 mysql默認的是美國的時區,而咱們中國大陸要比他們遲8小時,採用+8:00格式sql 解決方法:、code 修改my.ini文件(如果安裝在C盤的話,目錄則是:C:\ProgramData\MySQL\MySQL Server 5.7)blog default-time-zone='+08:00'  重啓mysqlclass 或者
相關文章
相關標籤/搜索