-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjdbc_properties.template
executable file
·65 lines (53 loc) · 1.44 KB
/
jdbc_properties.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# @Created with Atom
# @author @author@
# @time @now@
# @description
# jdbc.properties
#MySQL & MariaDB
databaseType=mysql
# MySQL8.0以后
#jdbc.driver=com.mysql.cj.jdbc.Driver
#MySQL8.0以前
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://docker:3306/databasename?useUnicode=true&characterEncoding=UTF8&useSSL=false&allowMultiQueries=true
jdbc.username=root
jdbc.password=123456
#定义初始连接数
initialSize=0
#定义最大连接数
maxActive=20
#定义最大空闲
maxIdle=20
#定义最小空闲
minIdle=1
#定义最长等待时间
maxWait=60000
#Oracle
#jdbc.type=oracle
#jdbc.driver=oracle.jdbc.driver.OracleDriver
#jdbc.url=jdbc:oracle:thin:@localhost:orcl
#jdbc.username=scott
#jdbc.password=tiger
#db2
#jdbc.type=db2
#jdbc.driver=com.ibm.db2.jdbc.app.DB2Driver
#jdbc.url=jdbc:db2://localhost:5000/DATABASENAME
#jdbc.username=admin
#jdbc.password=admin
#sqlserver
#jdbc.type=sqlserver
#jdbc.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
#jdbc.url=jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=DATABASENAME
#jdbc.username=sa
#jdbc.password=123456
#sybase
#jdbc.type=sybase
#jdbc.driver=com.sybase.jdbc.SybDriver
#jdbc.url=jdbc:sybase:Tds:localhost:5007/DATABASENAME
#jdbc.username=userid
#jdbc.password=123456
#PostgreSQL
#jdbc.type=postgre
#jdbc.driver=org.postgresql.Driverjdbc:postgresql://localhost/DATABASENAME
#jdbc.username=admin
#jdbc.password=123456