Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0143ee09
authored
2024-10-07 19:20:17 +0800
by
Administrator
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update application-prod.yml
1 parent
22e4a1ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
lego-admin/src/main/resources/application-prod.yml
lego-admin/src/main/resources/application-prod.yml
View file @
0143ee0
...
...
@@ -20,9 +20,9 @@ spring:
driverClassName
:
com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url
:
jdbc:mysql://localhost:3306/
ry-vue
?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username
:
root
password
:
root
url
:
jdbc:mysql://localhost:3306/
legov22
?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username
:
legov22
password
:
d4hmL44kzBSi6baT
# 从库数据源
slave
:
lazy
:
true
...
...
@@ -73,9 +73,9 @@ spring:
# 端口,默认为6379
port
:
6379
# 数据库索引
database
:
0
database
:
5
# 密码(如没有密码请注释掉)
# password:
password
:
parking@nlife
# 连接超时时间
timeout
:
10s
# 是否开启ssl
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment