-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connections could not be acquired from the underlying database! #2352
Comments
realm = plexus.core
Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error constructing component role: 'com.dianping.cat.analysis.MessageConsumer', implementation: 'com.dianping.cat.analysis.RealtimeConsumer', role hint: 'default'
|
报错信息:realm = plexus.core
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
Number of foreign imports: 0
(中间省略)
Caused by: org.unidal.dal.jdbc.datasource.DataSourceException: Error when connecting to JDBC data source(cat) with properties (driver=com.mysql.jdbc.Driver, url=
jdbc:mysql://10.0.4.6:3306/cat
?
useUnicode=true&characterEncoding=utf8&useSSL=false&autoReconnect=true&socketTimeout=120000
, user=root). Error message=java.sql.SQLException: Connections could not be acquired from the underlying database!
at org.unidal.dal.jdbc.datasource.JdbcDataSource.initialize(JdbcDataSource.java:99)
环境:腾讯云 CentOS 7.6; mysql5.7.44 ;tomcat8.5;
github下载的3.0.1war包部署启动
datasource.xml配置如图
哪位大佬能帮这个问题咋解。。?我把mysql降级到5.6版本还是报这个错。。
The text was updated successfully, but these errors were encountered: