Spring application.properties 配置

//关闭thymeleaf缓存

spring.thymeleaf.cache=false

//配置数据库链接 

spring.datasource.url = jdbc:mariadb://localhost:3306/testdb?useSSL=false

spring.datasource.username = testdb
spring.datasource.password = testdb

posted @ 2020-08-12 17:12  麦克斯-侯  阅读(248)  评论(0编辑  收藏  举报
百纵科技