为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:V8
【操作系统】:windows 10 家庭
【CPU】:AMD R7 5800H
【问题描述】*:2023年3月下载最新v8版本,安装目录里提供的jdbc驱动包,连不上数据库,(2021年10月下载的那个驱动名就可以连接),springboot 1.5.13.RELEASE mybatis-plus 3.4.1,
以下是控制台输出的错误信息:
Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (网络通信异常)
Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (网络通信异常)
Caused by: dm.jdbc.driver.DMException: 网络通信异常
connect: Address is invalid on local machine, or port is not valid on remote machine
连接串可以发一下看看吗?
网络通讯异常,应该是端口不通或者数据库实例没有启动导致的。