提交 | 用户 | 时间
|
71e81e
|
1 |
|
懒 |
2 |
|
|
3 |
#Oracle配置 |
|
4 |
#spring: |
|
5 |
# datasource: |
|
6 |
# driverClassName: oracle.jdbc.OracleDriver |
|
7 |
# url: jdbc:oracle:thin:@127.0.0.1:1521:ORCLCDB |
|
8 |
# username: GUNS |
|
9 |
# password: GUNS |
|
10 |
# filters: wall,mergeStat |
|
11 |
|
|
12 |
#SQLServer配置 |
|
13 |
#spring: |
|
14 |
# datasource: |
|
15 |
# driverClassName: net.sourceforge.jtds.jdbc.Driver |
|
16 |
# url: jdbc:jtds:sqlserver://127.0.0.1:3433;DatabaseName=guns |
|
17 |
# username: guns |
|
18 |
# password: 123456 |
|
19 |
# filters: wall,mergeStat |
|
20 |
|
|
21 |
#PostgreSQL配置 |
|
22 |
#spring: |
|
23 |
# datasource: |
|
24 |
# driverClassName: org.postgresql.Driver |
|
25 |
# url: jdbc:postgresql://127.0.0.1:5432/guns |
|
26 |
# username: postgres |
|
27 |
# password: 123456 |
|
28 |
# filters: wall,mergeStat |
|
29 |
|
|
30 |
# Mysql数据库 |
|
31 |
#spring: |
|
32 |
# datasource: |
|
33 |
# driver-class-name: com.mysql.cj.jdbc.Driver |
|
34 |
# url: jdbc:mysql://127.0.0.1:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT |
|
35 |
# username: root |
|
36 |
# password: root |
|
37 |
# filters: wall,mergeStat |
|
38 |
|
|
39 |
# Mysql数据库 |
|
40 |
spring: |
|
41 |
datasource: |
|
42 |
driver-class-name: com.mysql.cj.jdbc.Driver |
|
43 |
url: jdbc:mysql://192.168.0.234:3306/guns_advanced?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT |
|
44 |
username: root |
|
45 |
password: root |
|
46 |
filters: wall,mergeStat |
|
47 |
|
|
48 |
# 连接池大小根据实际情况调整 |
|
49 |
max-active: 20 |
|
50 |
max-pool-prepared-statement-per-connection-size: 20 |
|
51 |
|
|
52 |
# 邮件发送配置(改为自己的账号和密码) |
|
53 |
mail: |
|
54 |
host: smtp.qq.com |
|
55 |
port: 587 |
|
56 |
username: sn93@qq.com |
|
57 |
password: xxxpassword |
|
58 |
|
|
59 |
# 邮件发送(改为自己的账号) |
|
60 |
mail: |
|
61 |
from: sn93@qq.com |
|
62 |
|
|
63 |
server: |
|
64 |
port: 9666 |