java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:mysql://localhost:3306/springboot?useUnicode=true&characterEncoding=utf8&useSSL=true&lazyInit=true, username = root.
Terminating connection pool (set lazyInit to true if you expect to start your database after your app). Original Exception: ------
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
1.连接是用mysql没问题,2.mapper.xml 和mapper接口都是对应,3.jdbc配置也没问题,mapper.xml和mapper接口也配置对的
根据报错的提示,好像是连接不到数据库/被数据库给拒绝了,检查下配置的数据库相关信息把