國外服務器時區設置:springboot data jpa + mysql設置時區爲東八區

5個地方能夠(或者是須要)設置html 1:linux服務器設置:mysql   二、mysql安裝目錄下my.ini配置文件中添加linux #設置默認時區 default-time-zone='+08:00' 三、spring boot 配置文件application.properties中設置spring默認時區spring spring.jackson.time-zone=GMT+8sql
相關文章
相關標籤/搜索