xieb
2024-03-23 692f1bf9c1fe9607d09e263aea34bf3d4df8eb67
数据库配置修改
2 files modified
16 ■■■■■ changed files
src/main/resources/application-dev.yml 9 ●●●●● patch | view | raw | blame | history
src/main/resources/application-prod.yml 7 ●●●● patch | view | raw | blame | history
src/main/resources/application-dev.yml
@@ -1,9 +1,12 @@
#spring
spring:
  datasource:
      url: jdbc:mysql://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true
      username: root
      password: yshb@123
#    url: jdbc:mysql://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true
#    username: root
#    password: yshb@123
    url: jdbc:mysql://192.168.2.104:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true
    username: root
    password: 123456
  redis:
    host: 127.0.0.1
src/main/resources/application-prod.yml
@@ -1,9 +1,12 @@
#spring
spring:
  datasource:
      url: jdbc:mysql://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true
#      url: jdbc:mysql://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true
#      username: root
#      password: yshb@123
      url: jdbc:mysql://127.0.0.1:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true
      username: root
      password: yshb@123
      password: jxpskj_2018
  redis:
    host: 127.0.0.1