mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add > english document
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
[](https://www.apache.org/licenses/LICENSE-2.0.html)
|
||||
|
||||
## 中文 | [English](https://github.com/alibaba/druid/blob/master/druid-spring-boot-starter/README_EN.md)
|
||||
Spring Boot with Druid support,help you simplify Druid config in Spring Boot.
|
||||
Druid Spring Boot Starter 用于帮助你在Spring Boot项目中轻松集成Druid数据库连接池和监控
|
||||
|
||||
## 如何使用
|
||||
在 Spring Boot 项目的```pom.xml```中添加以下依赖:
|
||||
@@ -16,7 +16,7 @@ Spring Boot with Druid support,help you simplify Druid config in Spring Boot.
|
||||
</dependency>
|
||||
```
|
||||
## 配置属性
|
||||
Druid Spring Boot Starter 配置属性名称完全遵照Druid,你可以通过下面这些配置属性来配置Druid,如果没有配置则使用默认值。
|
||||
Druid Spring Boot Starter 配置属性名称完全遵照Druid,你可以通过下面这些配置属性来配置Druid数据库连接池和监控,如果没有配置则使用默认值。
|
||||
```xml
|
||||
# JDBC配置
|
||||
spring.datasource.druid.url= # 或spring.datasource.url=
|
||||
|
||||
@@ -15,7 +15,7 @@ Add the following dependency in pom.xml.
|
||||
</dependency>
|
||||
```
|
||||
## Properties
|
||||
Druid Spring Boot Starter properties name in full compliance with Druid configuration, you can configure Druid with the following configuration properties, using default values if not configured.
|
||||
Druid Spring Boot Starter properties name in full compliance with Druid configuration, you can configure the Druid database connection pool and monitor the configuration properties through the following configuration properties, using default values if not configured.
|
||||
```xml
|
||||
# JDBC
|
||||
spring.datasource.druid.url= # or spring.datasource.url=
|
||||
|
||||
Reference in New Issue
Block a user