失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > java.sql.SQLException: Table 'test.customer' doesn't exist Query: Select id name address phone from

java.sql.SQLException: Table 'test.customer' doesn't exist Query: Select id name address phone from

时间:2019-01-25 19:21:53

相关推荐

java.sql.SQLException: Table 'test.customer' doesn't exist Query: Select id name address phone from

信息: Initializing c3p0 pool... com.mchange.boPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> mvcapp, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1b60j9ea01c2symw1h0dfh7|424ecfdd, idleConnectionTestPeriod -> 0, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 50, maxStatements -> 20, maxStatementsPerConnection -> 5, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]

java.sql.SQLException: Table 'test.customer' doesn't exist Query: Select id,name,address,phone from customer Parameters: []

这个信息告诉我test.customer这张表不存再说明在连接数据库的jdbcUrl的参数出错,就是

这里的test数据表改为customer表问题就可以解决。

如果觉得《java.sql.SQLException: Table 'test.customer' doesn't exist Query: Select id name address phone from》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。