一般来说部署到本地,使用自己的数据库与原来数据库不同。
找到yaml文件, JDBC:其中修改用户名username、密码password、url中端口号和数据库名称
spring:
mvc:
static-path-pattern: /**
thymeleaf:
servlet:
content-type: text/html
encoding: UTF-8
cache: false
datasource:
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:mysql://localhost:3306/maydaytest?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
username: ********
password: ********
driver-class-name: com.mysql.jdbc.Driver


