首页 新闻 会员 周边 捐助

采用c3p0连接池为啥连不上mysql数据库呢,在线求各位大佬指导

0
[待解决问题]

十一月 11, 2019 8:24:11 下午 com.mchange.v2.log.MLog
信息: MLog clients using java 1.4+ standard logging.
十一月 11, 2019 8:24:12 下午 com.mchange.v2.c3p0.C3P0Registry
信息: Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
十一月 11, 2019 8:24:12 下午 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource
信息: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1br9q58a6p371979bc1e5|5ef04b5, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1br9q58a6p371979bc1e5|5ef04b5, idleConnectionTestPeriod -> 0, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/web?serverTimezone=UTC, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 30, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 500, maxStatementsPerConnection -> 0, minPoolSize -> 10, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.

四sir的主页 四sir | 菜鸟二级 | 园豆:206
提问于:2019-11-11 20:26
< >
分享
所有回答(1)
0

贴的这些没有报错,应该没啥问题
下面还有报错的日志?

2012 | 园豆:21645 (高人七级) | 2019-11-12 08:17

嗯,在数据库看了一下,值改变了,多谢大佬指教

支持(0) 反对(0) 四sir | 园豆:206 (菜鸟二级) | 2019-11-12 08:38
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册