Update application-prod.yml
Showing
1 changed file
with
5 additions
and
5 deletions
| ... | @@ -20,9 +20,9 @@ spring: | ... | @@ -20,9 +20,9 @@ spring: |
| 20 | driverClassName: com.mysql.cj.jdbc.Driver | 20 | driverClassName: com.mysql.cj.jdbc.Driver |
| 21 | # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 | 21 | # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 |
| 22 | # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) | 22 | # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) |
| 23 | url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true | 23 | url: jdbc:mysql://localhost:3306/legov22?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true |
| 24 | username: root | 24 | username: legov22 |
| 25 | password: root | 25 | password: d4hmL44kzBSi6baT |
| 26 | # 从库数据源 | 26 | # 从库数据源 |
| 27 | slave: | 27 | slave: |
| 28 | lazy: true | 28 | lazy: true |
| ... | @@ -73,9 +73,9 @@ spring: | ... | @@ -73,9 +73,9 @@ spring: |
| 73 | # 端口,默认为6379 | 73 | # 端口,默认为6379 |
| 74 | port: 6379 | 74 | port: 6379 |
| 75 | # 数据库索引 | 75 | # 数据库索引 |
| 76 | database: 0 | 76 | database: 5 |
| 77 | # 密码(如没有密码请注释掉) | 77 | # 密码(如没有密码请注释掉) |
| 78 | # password: | 78 | password: parking@nlife |
| 79 | # 连接超时时间 | 79 | # 连接超时时间 |
| 80 | timeout: 10s | 80 | timeout: 10s |
| 81 | # 是否开启ssl | 81 | # 是否开启ssl | ... | ... |
-
Please register or sign in to post a comment