Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gas-management
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴卿华
gas-management
Commits
76d699a1
Commit
76d699a1
authored
May 27, 2022
by
wuqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022-5-27 修改数据库
parent
cad265d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
application-dev.yml
gas-management-admin/src/main/resources/application-dev.yml
+5
-5
application-prd.yml
gas-management-admin/src/main/resources/application-prd.yml
+5
-5
application-test.yml
gas-management-admin/src/main/resources/application-test.yml
+5
-5
No files found.
gas-management-admin/src/main/resources/application-dev.yml
View file @
76d699a1
...
...
@@ -6,16 +6,16 @@ spring:
druid
:
# 主库数据源
master
:
url
:
jdbc:mysql://36.148.23.59:3306/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://36.148.23.59:3306/gas_
m
db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
password
:
root@123
# 从库数据源
slave
:
# 从数据源开关/默认关闭
enabled
:
false
url
:
username
:
password
:
url
:
username
:
password
:
# 初始连接数
initialSize
:
5
# 最小连接池数量
...
...
@@ -35,7 +35,7 @@ spring:
testWhileIdle
:
true
testOnBorrow
:
false
testOnReturn
:
false
webStatFilter
:
webStatFilter
:
enabled
:
true
statViewServlet
:
enabled
:
true
...
...
gas-management-admin/src/main/resources/application-prd.yml
View file @
76d699a1
...
...
@@ -6,16 +6,16 @@ spring:
druid
:
# 主库数据源
master
:
url
:
jdbc:mysql://36.148.23.59:3306/gas_db_prod?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://36.148.23.59:3306/gas_
m
db_prod?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
password
:
root@123
# 从库数据源
slave
:
# 从数据源开关/默认关闭
enabled
:
false
url
:
username
:
password
:
url
:
username
:
password
:
# 初始连接数
initialSize
:
5
# 最小连接池数量
...
...
@@ -35,7 +35,7 @@ spring:
testWhileIdle
:
true
testOnBorrow
:
false
testOnReturn
:
false
webStatFilter
:
webStatFilter
:
enabled
:
true
statViewServlet
:
enabled
:
true
...
...
gas-management-admin/src/main/resources/application-test.yml
View file @
76d699a1
...
...
@@ -6,16 +6,16 @@ spring:
druid
:
# 主库数据源
master
:
url
:
jdbc:mysql://36.148.23.59:3306/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://36.148.23.59:3306/gas_
m
db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
password
:
root@123
# 从库数据源
slave
:
# 从数据源开关/默认关闭
enabled
:
false
url
:
username
:
password
:
url
:
username
:
password
:
# 初始连接数
initialSize
:
5
# 最小连接池数量
...
...
@@ -35,7 +35,7 @@ spring:
testWhileIdle
:
true
testOnBorrow
:
false
testOnReturn
:
false
webStatFilter
:
webStatFilter
:
enabled
:
true
statViewServlet
:
enabled
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment