首次测试testQueryArea出错
来源:2-7 验证Dao

慕桂英2074084
2018-12-30
老师你好,帮忙看下,完全对照要求来的。不知道是什么原因
写回答
3回答
-
qq_ppg_0
2019-03-03
百度下mysql8.0驱动连接变了,就是driver那,看这个https://blog.csdn.net/weixin_42925196/article/details/81773156,一上午加半个下午搞这个问题,心态都炸了,担心以后工作了头发问题...
012019-03-04 -
翔仔
2018-12-30
同学好,感觉同学的mysql是不是用了8.0如果是的话,请回退回5.x
022019-01-01 -
慕桂英2074084
提问者
2018-12-30
可能是用了最终代码,重新做了后,出现新问题
警告: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6cbe6ed3 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (2). Last acquisition attempt exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.00
相似问题