This commit is contained in:
Looly 2022-04-30 21:08:28 +08:00
parent 5c1972e04b
commit a7ede583ec
3 changed files with 11 additions and 11 deletions

View File

@ -22,49 +22,49 @@ remarks = true
# 测试数据源 # 测试数据源
[test]= [test]
url = jdbc:sqlite:test.db url = jdbc:sqlite:test.db
remarks = true remarks = true
# 测试用HSQLDB数据库 # 测试用HSQLDB数据库
[hsqldb]= [hsqldb]
url = jdbc:hsqldb:mem:mem_hutool url = jdbc:hsqldb:mem:mem_hutool
user = SA user = SA
pass = pass =
remarks = true remarks = true
# 测试用HSQLDB数据库 # 测试用HSQLDB数据库
[h2]= [h2]
url = jdbc:h2:mem:h2_hutool url = jdbc:h2:mem:h2_hutool
user = sa user = sa
pass = pass =
remarks = true remarks = true
# 测试用HSQLDB数据库 # 测试用HSQLDB数据库
[derby]= [derby]
url = jdbc:derby:.derby/test_db;create=true url = jdbc:derby:.derby/test_db;create=true
remarks = true remarks = true
# 测试用Oracle数据库 # 测试用Oracle数据库
[orcl]= [orcl]
url = jdbc:oracle:thin:@//looly.centos:1521/XE url = jdbc:oracle:thin:@//looly.centos:1521/XE
user = looly user = looly
pass = 123456 pass = 123456
remarks = true remarks = true
[mysql]= [mysql]
url = jdbc:mysql://looly.centos8:3306/hutool_test?useSSL=false url = jdbc:mysql://looly.centos8:3306/hutool_test?useSSL=false
user = root user = root
pass = 123456 pass = 123456
remarks = true remarks = true
[postgre]= [postgre]
url = jdbc:postgresql://looly.centos:5432/test_hutool url = jdbc:postgresql://looly.centos:5432/test_hutool
user = postgres user = postgres
pass = 123456 pass = 123456
remarks = true remarks = true
[sqlserver]= [sqlserver]
url = jdbc:sqlserver://looly.database.chinacloudapi.cn:1433;database=test;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database.chinacloudapi.cn;loginTimeout=30; url = jdbc:sqlserver://looly.database.chinacloudapi.cn:1433;database=test;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database.chinacloudapi.cn;loginTimeout=30;
user = looly@looly user = looly@looly
pass = 123 pass = 123

View File

@ -12,9 +12,9 @@ socketTimeout=0
socketKeepAlive=false socketKeepAlive=false
#---------------------------------- MongoDB实例连接 #---------------------------------- MongoDB实例连接
[master]= [master]
host = localhost:27017 host = localhost:27017
[slave]= [slave]
host = localhost:27018 host = localhost:27018
#----------------------------------------------------- #-----------------------------------------------------

View File

@ -27,7 +27,7 @@ clientName = Hutool
ssl = false; ssl = false;
#----- 自定义分组的连接 #----- 自定义分组的连接
[custom]= [custom]
# 地址默认localhost # 地址默认localhost
host = localhost host = localhost
# 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true # 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true