We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c907059 commit 098ca95Copy full SHA for 098ca95
blogserver/pom.xml
@@ -75,6 +75,11 @@
75
<groupId>org.slf4j</groupId>
76
<artifactId>slf4j-log4j12</artifactId>
77
</dependency>
78
+ <dependency>
79
+ <groupId>com.alibaba</groupId>
80
+ <artifactId>druid</artifactId>
81
+ <version>1.0.29</version>
82
+ </dependency>
83
</dependencies>
84
85
<build>
blogserver/src/main/resources/application.properties
@@ -1,3 +1,4 @@
1
+spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
2
spring.datasource.url=jdbc:mysql:///vueblog?useUnicode=true&characterEncoding=UTF-8
3
spring.datasource.username=username
4
spring.datasource.password=password
0 commit comments