com.mysql.cj.jdbc.exceptions.SQLError.createSQLException
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.
FATAL ERROR in native method: JDWP on checking for an interface, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)
原因:
MySQL jdbc 6.0 版本以上必须配置“serverTimezone”参数
解决:
在url后面添加时区
serverTimezone=Asia/Shanghai(东八区)
或者:
serverTimezone=UTC(全球标准时间)