| @@ -1,9 +1,9 @@ | |||||
| spring: | spring: | ||||
| # JDBC | # JDBC | ||||
| datasource: | datasource: | ||||
| url: jdbc:mysql://127.0.0.1:3306/mallink?characterEncoding=UTF-8 | |||||
| username: root | |||||
| password: 1234qwer | |||||
| url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallink?characterEncoding=UTF-8 | |||||
| username: ENC(BDv01/sQdBGEhFEXuw+8tw==) | |||||
| password: ENC(0wvpX49+RMUpGP2tb9PY4ta/yCwAmLLhbKG9ndvifPI=) | |||||
| type: com.alibaba.druid.pool.DruidDataSource | type: com.alibaba.druid.pool.DruidDataSource | ||||
| driver_class: com.mysql.cj.jdbc.Driver | driver_class: com.mysql.cj.jdbc.Driver | ||||
| filters: stat | filters: stat | ||||
| @@ -22,9 +22,11 @@ spring: | |||||
| connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" | connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" | ||||
| # REDIS | # REDIS | ||||
| redis: | redis: | ||||
| host: 127.0.0.1 | |||||
| port: 6379 | |||||
| host: 202.165.179.86 | |||||
| port: 6789 | |||||
| password: ENC(YOLO4buIPjiYfosG+Akk3XZ9HYrbCFco) | |||||
| timeout: 0 | timeout: 0 | ||||
| expire: 1800 #30分钟 | |||||
| pool: | pool: | ||||
| max-active: 8 | max-active: 8 | ||||
| max-idle: 8 | max-idle: 8 | ||||
| @@ -33,5 +35,5 @@ spring: | |||||
| logging: | logging: | ||||
| level: | level: | ||||
| tk.mybatis: error | |||||
| com.iformall.mapper: error | |||||
| tk.mybatis: debug | |||||
| com.iformall.mapper: debug | |||||
| @@ -1,9 +1,9 @@ | |||||
| spring: | spring: | ||||
| # JDBC | # JDBC | ||||
| datasource: | datasource: | ||||
| url: jdbc:mysql://127.0.0.1:3306/mallink?characterEncoding=UTF-8 | |||||
| username: root | |||||
| password: 1234qwer | |||||
| url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallink?characterEncoding=UTF-8 | |||||
| username: ENC(BDv01/sQdBGEhFEXuw+8tw==) | |||||
| password: ENC(0wvpX49+RMUpGP2tb9PY4ta/yCwAmLLhbKG9ndvifPI=) | |||||
| type: com.alibaba.druid.pool.DruidDataSource | type: com.alibaba.druid.pool.DruidDataSource | ||||
| driver_class: com.mysql.cj.jdbc.Driver | driver_class: com.mysql.cj.jdbc.Driver | ||||
| filters: stat | filters: stat | ||||
| @@ -21,9 +21,11 @@ spring: | |||||
| maxOpenPreparedStatements: 20 | maxOpenPreparedStatements: 20 | ||||
| # REDIS | # REDIS | ||||
| redis: | redis: | ||||
| host: 127.0.0.1 | |||||
| port: 6379 | |||||
| host: 202.165.179.86 | |||||
| port: 6789 | |||||
| password: ENC(YOLO4buIPjiYfosG+Akk3XZ9HYrbCFco) | |||||
| timeout: 0 | timeout: 0 | ||||
| expire: 1800 #30分钟 | |||||
| pool: | pool: | ||||
| max-active: 8 | max-active: 8 | ||||
| max-idle: 8 | max-idle: 8 | ||||
| @@ -32,5 +34,5 @@ spring: | |||||
| logging: | logging: | ||||
| level: | level: | ||||
| tk.mybatis: error | |||||
| com.iformall.mapper: error | |||||
| tk.mybatis: debug | |||||
| com.iformall.mapper: debug | |||||
| @@ -1,9 +1,9 @@ | |||||
| spring: | spring: | ||||
| # JDBC | # JDBC | ||||
| datasource: | datasource: | ||||
| url: jdbc:mysql://127.0.0.1:3306/mallink?characterEncoding=UTF-8 | |||||
| username: root | |||||
| password: 1234qwer | |||||
| url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallink?characterEncoding=UTF-8 | |||||
| username: ENC(BDv01/sQdBGEhFEXuw+8tw==) | |||||
| password: ENC(0wvpX49+RMUpGP2tb9PY4ta/yCwAmLLhbKG9ndvifPI=) | |||||
| type: com.alibaba.druid.pool.DruidDataSource | type: com.alibaba.druid.pool.DruidDataSource | ||||
| driver_class: com.mysql.cj.jdbc.Driver | driver_class: com.mysql.cj.jdbc.Driver | ||||
| filters: stat | filters: stat | ||||
| @@ -21,9 +21,11 @@ spring: | |||||
| maxOpenPreparedStatements: 20 | maxOpenPreparedStatements: 20 | ||||
| # REDIS | # REDIS | ||||
| redis: | redis: | ||||
| host: 127.0.0.1 | |||||
| port: 6379 | |||||
| host: 202.165.179.86 | |||||
| port: 6789 | |||||
| password: ENC(YOLO4buIPjiYfosG+Akk3XZ9HYrbCFco) | |||||
| timeout: 0 | timeout: 0 | ||||
| expire: 1800 #30分钟 | |||||
| pool: | pool: | ||||
| max-active: 8 | max-active: 8 | ||||
| max-idle: 8 | max-idle: 8 | ||||
| @@ -32,5 +34,5 @@ spring: | |||||
| logging: | logging: | ||||
| level: | level: | ||||
| tk.mybatis: error | |||||
| com.iformall.mapper: error | |||||
| tk.mybatis: debug | |||||
| com.iformall.mapper: debug | |||||