mybatisplus数据库配置

1、mybatisplus配置数据库yml

server:
  port: 8090
spring:
  datasource:
    url: jdbc:mysql://localhost:3306/vuetest?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false
    username: root
    password: 123456
    driver-class-name: com.mysql.cj.jdbc.Driver
#mybatisplus启动日志
mybatis-plus:
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

2、启动yml

spring:
  profiles:
    active: dev

3、

mybatisplus数据库配置

上一篇:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported


下一篇:Django取出数据库某一列的值