#tomcat端口号
server.port=8081
##spring.datasource.url=jdbc:oracle:thin:@192.168.5.192:1521:orcl
#spring.datasource.username=test
#spring.datasource.password=test
##spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
#spring.datasource.max-idle=10
#spring.datasource.max-wait=10000
#spring.datasource.min-idle=5
#spring.datasource.initial-size=5
#mysql
spring.datasource.url=jdbc:mysql://192.168.5.128:3306/h5?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=123456
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.max-idle=10
spring.datasource.max-wait=10000
spring.datasource.min-idle=5
spring.datasource.initial-size=5
#oracle
spring.datasource.url=jdbc:oracle:thin:@192.168.5.192:1521:orcl
spring.datasource.username=test
spring.datasource.password=test
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
spring.datasource.max-idle=10
spring.datasource.max-wait=10000
spring.datasource.min-idle=5
spring.datasource.initial-size=5
#扫描多个路径配置
mybatis.mapper-locations=classpath:mapper/**/*Dao.xml
#mybatis.type-aliases-package=com.keyou.domain.basicQuery
mybatis.type-aliases-package=com.keyou.domain.*
#以下相对路径,会在根目录生成 :
logging.file=myException.log
#日志配置文件
logging.config=classpath:logback-spring.xml
#Redis配置
spring.redis.host=192.168.5.128
spring.redis.database=0
spring.redis.port=6379
spring.redis.password=
#spring.redis.timeout=20000
springboot properties配置文件
最新推荐文章于 2023-02-16 10:57:20 发布