[ERROR][Druid-ConnectionPool-Create-497317060][][c.a.d.p.DruidDataSource$CreateConnectionThread.run.2469] > create connection SQLException, url: jdbc:p6spy:mysql://.................?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false, errorCode 0, state 01S00
java.sql.SQLException: The server time zone value 'WIB' 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
本来以为是p6spy的原因,后来查了下这只是一个打印sql日志的工具。
最后定位到原因是 mysql的版本太高了。