标签:mod time tar auto tis pen coding user quick
<!-- mybatis --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.2</version> </dependency> <!-- mysql --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency>
数据源配置
适用于Mysql5.7及以下版本,mysql8.0要使用另外的配置
spring: datasource: driverClassName: com.mysql.jdbc.Driver url: jdbc:mysql://192.168.177.67:3316/dbmng?useUnicode=true&zeroDateTimeBehavior=convertToNull&autoReconnect=true&characterEncoding=utf-8 username: automng password: Automng_123
标签:mod time tar auto tis pen coding user quick
原文地址:https://www.cnblogs.com/perfei/p/12818889.html