springboot application.properties(数据库jdbc mybatis redis )

server.port=9090

spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/myapp?useSSL=true&useUnicode=true&serverTimezone=UTC&characterEncoding=utf-8
spring.datasource.username=root
spring.datasource.password=root

spring.security.user.name=admin
spring.security.user.password=admin

mybatis.mapperLocations=classpath:mapper/*.xml
mybatis.configrationLocations=classpath:mybatis-config.xml

spring.redis.host=127.0.0.1
spring.redis.port=6379
spring.redis.timeout=10s
spring.redis.lettuce.pool.min-idle=0
spring.redis.lettuce.pool.max-idle=8
spring.redis.lettuce.pool.max-active=8
spring.redis.lettuce.pool.max-wait=-1m

 

springboot application.properties(数据库jdbc mybatis redis )

上一篇:Android常用开源软件


下一篇:uniapp---上传测试版本进行APP在IOS进行调试