今天在学习当中遇到以下错误:org.apache.ibatis.exceptions.PersistenceException: ### Error getting a new connection. Cause: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)### Cause: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
PersistenceException表示持久性异常,关于数据库层的错误。
同时还有:Access denied for user ‘root’@‘localhost’ (using password: YES)
后经过我检查发现是密码写错了。