error
mysql的账号名和密码正确却无法登陆, 找了半天原因原来是yml文件配置密码的时候需要加双引号, 改正后就可以正常连接了.
spring:
application:
name: goods
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/xx?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
username: root
password: "root"












网友评论