物联网平台 +Web 组态
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.8 KiB

2 years ago
#------------------------- jdbc config -------------------------
2 years ago
#jdbc.driverClassName= com.mysql.jdbc.Driver
jdbc.driverClassName= com.mysql.cj.jdbc.Driver
2 years ago
jdbc.maxActive=200
jdbc.maxWait=500
jdbc.defaultAutoCommit=true
#jdbc.url=jdbc:mysql://192.168.1.200:3306/easyiot?characterEncoding=gbk
#jdbc.username=root
#jdbc.password=123456
jdbc.url=jdbc:mysql://192.168.1.200:3306/easyiot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
jdbc.username=root
jdbc.password=123456
#\u8FDE\u63A5\u521D\u59CB\u503C\uFF0C\u8FDE\u63A5\u6C60\u542F\u52A8\u65F6\u521B\u5EFA\u7684\u8FDE\u63A5\u6570\u91CF\u7684\u521D\u59CB\u503C \u9ED8\u8BA4\u503C\u662F0
jdbc.initialSize=10
#\u6700\u5C0F\u7A7A\u95F2\u503C.\u5F53\u7A7A\u95F2\u7684\u8FDE\u63A5\u6570\u5C11\u4E8E\u9600\u503C\u65F6\uFF0C\u8FDE\u63A5\u6C60\u5C31\u4F1A\u9884\u7533\u8BF7\u53BB\u4E00\u4E9B\u8FDE\u63A5\uFF0C
#\u4EE5\u514D\u6D2A\u5CF0\u6765\u65F6\u6765\u4E0D\u53CA\u7533\u8BF7 \u9ED8\u8BA4\u503C\u662F0
jdbc.minIdle=5
#\u6700\u5927\u7A7A\u95F2\u503C.\u5F53\u7ECF\u8FC7\u4E00\u4E2A\u9AD8\u5CF0\u65F6\u95F4\u540E\uFF0C\u8FDE\u63A5\u6C60\u53EF\u4EE5\u6162\u6162\u5C06\u5DF2\u7ECF\u7528\u4E0D\u5230\u7684\u8FDE\u63A5\u6162\u6162\u91CA\u653E\u4E00\u90E8\u5206\uFF0C
#\u4E00\u76F4\u51CF\u5C11\u5230maxIdle\u4E3A\u6B62 \uFF0C0\u65F6\u65E0\u9650\u5236 \u9ED8\u8BA4\u503C\u662F8
jdbc.maxIdle=10
#\u8FDE\u63A5\u6C60\u7684\u6700\u5927\u503C\uFF0C\u540C\u4E00\u65F6\u95F4\u53EF\u4EE5\u4ECE\u6C60\u5206\u914D\u7684\u6700\u591A\u8FDE\u63A5\u6570\u91CF\uFF0C0\u65F6\u65E0\u9650\u5236 \u9ED8\u8BA4\u503C\u662F8
jdbc.maxTotal=30
#\u6BCF\u9875\u5BB9\u91CF
page.size=10
#\u6A21\u5F0F debug | deploy
dev.mode=debug
bd.api.geocoder=http://api.map.baidu.com/geocoder
database.name=easyiot