From 8599307eafd94862f309fdb15d427c4f01324a54 Mon Sep 17 00:00:00 2001 From: zhouyl <583641232@qq.com> Date: Fri, 27 Sep 2024 15:10:19 +0800 Subject: [PATCH] :sparkles: config --- tp-admin/src/main/resources/application-dev.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tp-admin/src/main/resources/application-dev.yml b/tp-admin/src/main/resources/application-dev.yml index 63f71f5..5386742 100644 --- a/tp-admin/src/main/resources/application-dev.yml +++ b/tp-admin/src/main/resources/application-dev.yml @@ -17,7 +17,7 @@ spring: driverClassName: com.mysql.cj.jdbc.Driver # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) - url: jdbc:mysql://localhost:3306/test_platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true + url: jdbc:mysql://ly:3306/test_platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true username: root password: 123456 # 从库数据源 @@ -48,13 +48,13 @@ spring: spring: redis: # 地址 - host: localhost + host: ly # 端口,默认为6379 port: 6379 # 数据库索引 database: 4 # 密码(如没有密码请注释掉) -# password: 123456 + password: 123456 # 连接超时时间 timeout: 10s # 是否开启ssl