SpringBoot整合Mybatis框架的数据库连接信息

application.properties中添加数据量的连接

#DB Configuration:
spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf8
spring.datasource.username=root
spring.datasource.password=root
Last modification:April 18th, 2019 at 08:58 pm
如果觉得这篇技术文章对你有用,请随意赞赏

Leave a Comment