yml Access denied for user ''@'localhost' to database 'bigdata'
据我猜测,你用的SpringBoot版本是2.0之后的。
2.x的改成下面这种。
spring:
datasource:
username: root
password: 123456
driverClassName: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/bigdata