GeezerVison is showing github.com — add mysql config · simpleguan/PassJava-Platform@23a439a
File tree
Expand file treeCollapse file tree
Open diff view settings
passjava-content/src/main/resources passjava-question/src/main/resources passjava-study/src/main/resources renren-generator/src/main/resources
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: passjava-content/src/main/resources/application.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | spring: |
2 | 2 | datasource: |
3 | 3 | driver-class-name: com.mysql.cj.jdbc.Driver |
4 | | - url: jdbc:mysql://129.211.188.xxxx:xxxx/passjava_cms?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai |
5 | | - username: xxxx |
6 | | - password: xxxx |
| 4 | + url: jdbc:mysql://192.168.10.160:3306/passjava_cms?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai |
| 5 | + username: root |
| 6 | + password: root |
7 | 7 | cloud: |
8 | 8 | nacos: |
9 | 9 | discovery: |
|
Collapse file
Copy file name to clipboardExpand all lines: passjava-question/src/main/resources/application.yml +14Lines changed: 14 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
17 | 17 | # global-config: |
18 | 18 | # db-config: |
19 | 19 | # id-type: auto |
| 20 | +# logic-delete-field: delFlag #全局逻辑删除字段值 3.3.0开始支持,详情看下面。 |
| 21 | +# logic-delete-value: 1 # 逻辑已删除值(默认为 1) |
| 22 | +# logic-not-delete-value: 0 # 逻辑未删除值(默认为 0) |
20 | 23 | # |
21 | 24 | #server: |
22 | 25 | # port: 11000 |
| 26 | +logging: |
| 27 | + level: |
| 28 | + com.jackson0714.passjava: debug |
| 29 | + |
| 30 | +#spring: |
| 31 | +# cloud: |
| 32 | +# alicloud: |
| 33 | +# access-key: xxxx |
| 34 | +# secret-key: xxxx |
| 35 | +# oss: |
| 36 | +# endpoint: oss-cn-beijing.aliyuncs.com |
Collapse file
Copy file name to clipboardExpand all lines: passjava-study/src/main/resources/application.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | spring: |
2 | 2 | datasource: |
3 | 3 | driver-class-name: com.mysql.cj.jdbc.Driver |
4 | | - url: jdbc:mysql://129.211.188.xxxx:xxxx/passjava_sms?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai |
5 | | - username: xxxx |
6 | | - password: xxxx |
| 4 | + url: jdbc:mysql://192.168.10.160:3306/passjava_sms?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai |
| 5 | + username: root |
| 6 | + password: root |
7 | 7 | cloud: |
8 | 8 | nacos: |
9 | 9 | discovery: |
|
Collapse file
Copy file name to clipboardExpand all lines: renren-generator/src/main/resources/application.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
7 | 7 | type: com.alibaba.druid.pool.DruidDataSource |
8 | 8 | #MySQL配置 |
9 | 9 | driverClassName: com.mysql.jdbc.Driver |
10 | | - url: jdbc:mysql://129.211.188.xxxx:xxxx/passjava_sms?useUnicode=true&characterEncoding=UTF-8&useSSL=false |
11 | | - username: xxxx |
12 | | - password: xxxx |
| 10 | + url: jdbc:mysql://192.168.10.160:3306/passjava_qms?useUnicode=true&characterEncoding=UTF-8&useSSL=false |
| 11 | + username: root |
| 12 | + password: root |
13 | 13 | #oracle配置 |
14 | 14 | # driverClassName: oracle.jdbc.OracleDriver |
15 | 15 | # url: jdbc:oracle:thin:@47.100.206.162:1521:xe |
|