application配置文件连接mysql数据库

 

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/mybatis_plus?serverTimezone=GMT%2B8
spring.datasource.username=root
spring.datasource.password=123456

  

posted @ 2021-10-26 21:24  非帆丶  阅读(401)  评论(0编辑  收藏  举报