2、配置文件mysql mysql-connector-javaorg.springframework.boot spring-boot-starter-jdbc2.6.2
application.yml
spring: datasource: url: jdbc:mysql://localhost:3306/mybatis?serverTimezone=Asia/Shanghai&&useSSL=true&&useUnicode=true&&characterEncoding=utf-8 username: root password: root driver-class-name: com.mysql.cj.jdbc.Driver
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)