springboot+durid动态数据源切换
摘要:
一、数据库配置 spring: datasource: name: soMysql type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver #基本属性 url: jdbc:mysql: 阅读全文
posted @ 2021-03-22 15:42 书梦一生 阅读(394) 评论(0) 推荐(0)