spring:
|
datasource:
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
# url: jdbc:mysql://47.100.191.150:3306/uav?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
|
# username: uav
|
# password: obd2019
|
|
url: jdbc:mysql://114.215.109.124:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
|
username: root
|
password: 123456
|
jmx:
|
enabled: false
|
|
|
|
mybatis:
|
type-aliases-package: com.flightfeather.uav.domain.entity
|
mapper-locations: classpath*:mapper/*.xml
|
|
|
## 通用 Mapper 配置
|
#mappers 多个接口时逗号隔开
|
mapper:
|
mappers: com.flightfeather.uav.domain.MyMapper
|
not-empty: false
|
identity: MYSQL
|
|
#数据库分页配置
|
pagehelper:
|
helperDialect: mysql
|
reasonable: true
|
supportMethodsArguments: true
|
params: count=countSql
|