1、mybatis配置文件
spring:
datasource:
username: root(用户名需要更改)
password: root(用户名需要更改)
url: jdbc:mysql://123.123.123.213(IP地址需要更改):3306/gulimall_pms?useSSL=false&useUnicode=true&characterEncoding=utf-8&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
driver-class-name: com.mysql.jdbc.Driver
2、mybatis-plus配置文件
mybatis-plus:
mapper-locations: classpath:/mapper/**/*.xml(Mapper路径)
global-config:
db-config:
id-type: auto