c3p0-config.xml configuration:
<?xml version="1.0" encoding="UTF-8"?>
<c3p0-config>
<default-config>
<property name="driverClass">com.mysql.cj.jdbc.Driver</property>
<property name="jdbcUrl">jdbc:mysql:///shop?characterEncoding=UTF-8&serverTimezone=UTC&useSSL=false</property>
<property name="user">root</property>
<property name="password">123456</property>
</default-config>
</c3p0-config>
jar package to use
c3p0-0.9.5.2.jar and mchange-commons-java-0.2.12.jar two packages to match the version will not operate. (Change bug changed Sa hours sorrowful lesson)