Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'AKST' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
|
数据库连接报错: 由于我用的是最新的mysql 8版本 需要在数据库连接后面添加时区 jdbc.url=jdbc:mysql://127.0.0.1:3306/mysql?characterEncoding=UTF-8&serverTimezone=GMT |