ava.sql.SQLException_ The server time zone value '�й���ʱ��' is unrecognized or represents more than-avasqlsqlexceptiontheservertimezonevalueisunrecognizedorrepresentsmorethan
title: >-
ava.sql.SQLException The server time zone value '�й���ʱ��' is unrecognized or
represents more than
url: >-
https://yayi.site/archives/avasqlsqlexceptiontheservertimezonevalueisunrecognizedorrepresentsmorethan
categories: javaweb
cover: 'https://cdn.jsdelivr.net/gh/TangxinGH/picbed/img/动漫/結城友奈は勇者である/犬吠·埼 樹.png'
abbrlink: b7f40c7f
date: 2019-10-16 22:58:24
updated: 2021-05-14 22:01:09
tags:
,版本不同,或者你连接数据库的url有问题,mysql连接要指定时间区域地域:
//static final String DB_URL = “jdbc:mysql://localhost:3306/你的数据库?useSSL=false&serverTimezone=UTC”;
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 程序员小航
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果