问题描述:
本人数据库MySQL8.0版本
spring测试数据库连接的时候出现:
严重: create connection SQLException, url: jdbc:mysql://localhost:3306/student_db?serverTimezone=UTC, errorCode 1045, state 28000
java.sql.SQLException: Access denied for user 'Betty'@'localhost' (using password: YES)
异常信息表名数据库用户名验证失败