报错 XAConnectionFactory: failed to create pooled connection - DBMS down or unreachable?

简介: 报错 XAConnectionFactory: failed to create pooled connection - DBMS down or unreachable?

出现以下错误:image.png在检查数据库连接信息都不存在任何问题的情况下,

是因为版本的问题,springboot2.1.x版本默认的mysql-connector-java 版本比较高 8.0.x ;


降版本可以解决:


        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>6.0.6</version>
        </dependency>
相关文章
|
SQL
ORA-04098: trigger ‘SYS.GGS_DDL_TRIGGER_BEFORE‘ is invalid and failed re-validation处理
ORA-04098: trigger ‘SYS.GGS_DDL_TRIGGER_BEFORE‘ is invalid and failed re-validation处理
377 0
ORA-04098: trigger ‘SYS.GGS_DDL_TRIGGER_BEFORE‘ is invalid and failed re-validation处理
|
数据库
Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Could not create connection to database server. Attempted reconnect 3 times. Giving up.
143 0
|
关系型数据库 MySQL 数据库连接
一文全解决 数据库连接报错Communications link failure,create connection SQLException
一文全解决 数据库连接报错Communications link failure,create connection SQLException
4132 0
|
Linux
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
526 0
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
|
网络协议 Oracle MySQL
从源码解析ERROR 1129 (HY000):Host is blocked because of many connection errors
原创水平有限,有错请指出 源码版本5.7.14 今天群里一个朋友出现如下错误: ERROR 1129 (HY000): Host '10.0.0.8' is blocked because of many connection errors; unblock w...
2497 0
|
关系型数据库 MySQL 数据库
【mysql错误 Mac】ERR_WHEN_INSERT_TO_DB\nError:Connection lost: The server closed the connection.
ERR_WHEN_INSERT_TO_DB\nError:Connection lost: The server closed the connection.这个是数据库查询报出的错误,所以我们先登录一下数据库,查询看看具体报错
184 0
|
SQL 数据库 Windows
SQL Server 2005 sp_send_dbmail出现Internal error at FormatRowset (Reason: Not enough storage is available to complete this operation)
案例环境:   操作系统: Windows 2003 SE 32bit(SP2) 数据库版本:Microsoft SQL Server 2005 - 9.00.5069.00 (Intel X86)             Aug 22 2012 16:01:52           ...
1408 0
|
SQL 数据库
SQL logic error or missing database no such table: xxx
原文:SQL logic error or missing database no such table: xxx System.
3327 0