spring.datasource.dynamic.url
时间: 2023-09-18 19:13:13 浏览: 151
动态数据源实现spring
根据提供的引用内容,spring.datasource.dynamic.url是配置动态数据源的写法中的一个属性。具体的配置写法如下:spring.datasource.dynamic.datasource.自定义数据库名称.url=jdbc:sqlserver://数据库地址;databasename=数据库名称。这个属性用于指定数据库的URL地址。
#### 引用[.reference_title]
- *1* *2* [spring boot 笔记(配置动态数据源)](https://blog.csdn.net/weixin_42230172/article/details/124172247)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Spring boot集成mybatisplus多数据源(dynamic)踩坑记录](https://blog.csdn.net/qq_41822960/article/details/121343783)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文