1. pom
<!-- 达梦数据库驱动 -->
<dependency>
<groupId>com.dm</groupId>
<artifactId>DmJdbcDriver18</artifactId>
<version>1.8</version>
</dependency>
maven中央仓库里面没有,需要手动安装到maven本地仓库
mvn install:install-file -Dfile=D:\1\DmJdbcDriver18.jar -DgroupId=com.dm -DartifactId=DmJdbcDriver18 -Dversion=1.8 -Dpackaging=jar
2. druid 配置 application.properties
#数据源1 datasource.no1.driver-class-name: dm.jdbc.driver.DmDriver datasource.no1.url=jdbc:dm://192.168.0.11:5238/SYSDBA?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf-8 datasource.no1.username=SYSDBA datasource.no1.password=root123456789
参考:https://zhuanlan.zhihu.com/p/497765233
JDBC连接达梦数据库DM8
参考2:https://blog.csdn.net/dcps75321/article/details/123145219
达梦驱动 DmJdbcDriver18连接问题
参考3:https://eco.dameng.com/community/question/5c8fa1be0d068c7e71f653360a9030f8
标签:dm,springBoot,DmJdbcDriver18,数据库,datasource,com,no1,达梦 From: https://www.cnblogs.com/2008nmj/p/18075189