xiaoyong931011
2023-03-06 f055ab386e2af0775d6ae1a0a6121ea69b330d5c
数据库创建
2 files modified
14 ■■■■ changed files
src/main/resources/application-dev.yml 8 ●●●● patch | view | raw | blame | history
src/main/resources/application-prod.yml 6 ●●●● patch | view | raw | blame | history
src/main/resources/application-dev.yml
@@ -15,10 +15,10 @@
      datasource:
        # 数据源-1,名称为 base
        base:
          username: ct_test
          password: 123456
          username: db_mall_hongloumeng
          password: hongloumeng123!@#123
          driver-class-name: com.mysql.cj.jdbc.Driver
          url: jdbc:mysql://120.27.238.55:3306/db_amz?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
          url: jdbc:mysql://47.111.90.145:3306/db_mall_hongloumeng?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
#          username: db_mall
#          password: mall!@#123
#          driver-class-name: com.mysql.cj.jdbc.Driver
@@ -26,7 +26,7 @@
  redis:
    # Redis数据库索引(默认为 0)
    database: 3
    database: 1
    # Redis服务器地址
    host: 120.27.238.55
    # Redis服务器连接端口
src/main/resources/application-prod.yml
@@ -15,10 +15,10 @@
      datasource:
        # 数据源-1,名称为 base
        base:
          username: db_mall
          password: mall!@#123
          username: db_mall_hongloumeng
          password: hongloumeng123!@#123
          driver-class-name: com.mysql.cj.jdbc.Driver
          url: jdbc:mysql://127.0.0.1:3306/db_mall?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
          url: jdbc:mysql://127.0.0.1:3306/db_mall_hongloumeng?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
  redis:
    # Redis数据库索引(默认为 0)