报错信息:
可能是用户名或密码错误
解决方案:
修改application.yml文件:用户名和密码正确的基础上加上双引号即可
# DataSource Config
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/vueblog?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
# username: root
# password: 000000
username: "root"
password: "000000"
mybatis-plus:
mapper-locations: classpath*:/mapper/**Mapper.xml
server:
port: 8080