解决java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
如果mysql账号密码正确的情况下,可以试一下后边加上这些参数:
url: jdbc:mysql://localhost:3306/demo0619?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true