主题 : 折腾了一天,求救!一直报数据库连接不上提示! |
级别: 秀才
|
1# 发表于:2020-01-16 18:46:57 IP:61.174.*.*
|
||||
---|---|---|---|---|---|
级别: 秀才
|
2# 发表于:2020-01-16 18:49:29 IP:61.174.*.*
回复第1楼 连接字符串都是对的,搜了网上资料调大了cpool.checkoutTimeout 这个参数,重启启动会报另外一个错误!
|
||
---|---|---|---|
级别: 秀才
|
5# 发表于:2020-01-17 09:15:48 IP:61.174.*.*
回复第3楼先是报 ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - An attempt by a client to checkout a Connection has timed out.
后面我调大了checkoutTimeout参数之后就变成以下报错了,都是在启动的时候报错的: Connections could not be acquired from the underlying database! |
||
---|---|---|---|