Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7aa7e54

Browse files
数据库链接增加区分版本号
1 parent 6a1b64e commit 7aa7e54

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ target/
33
tpid
44
*.iml
55
logs
6+
config.json
67

‎src/main/resources/application-dev.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ server.port = 8000
33

44
#数据库配置
55
spring.datasource.name = geekcattle
6-
spring.datasource.url = jdbc:mysql://localhost:3306/geekcattle?useUnicode=true&characterEncoding=UTF-8
6+
spring.datasource.url = jdbc:mysql://localhost:3306/geekcattle1.0?useUnicode=true&characterEncoding=UTF-8
77
spring.datasource.username = root
88
spring.datasource.password = root
99
# Redis数据库索引(默认为0)

‎src/main/resources/application-pro.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ server.port = 8001
33

44
#数据库配置
55
spring.datasource.name = geekcattle
6-
spring.datasource.url = jdbc:mysql://localhost:3306/geekcattle?useUnicode=true&characterEncoding=UTF-8
6+
spring.datasource.url = jdbc:mysql://localhost:3306/geekcattle1.0?useUnicode=true&characterEncoding=UTF-8
77
spring.datasource.username = geekcattle
88
spring.datasource.password = GeekCattle
99
# Redis数据库索引(默认为0)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /