java.sql.SQLException: The server time zone value '�й���ʱ��' 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.
在application.properties中在数据库url后添加serverTimezone=Asia/Shanghai
因为默认情况下serverTimezone=UTC,比我们北京时间早8小时,写入数据库更新时间和系统时间不一致可能会报错
spring.datasource.url=jdbc:mysql://localhost:3306/test?serverTimezone=Asia/Shanghai