首页 > 数据库> > 报错:querying database. Cause: java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (usin
报错:querying database. Cause: java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (usin
作者:互联网
Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
### The error may exist in hp/dao/LoginDao.java (best guess)
### The error may involve hp.dao.LoginDao.findAll
### The error occurred while executing a query
### Cause: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
出现这个问题的时候首先不是文件啥的写错了,而是粗心造成的:我是这个地方写错了
大家写的时候一定要注意了,一定要用心!
标签:java,database,SQLException,报错,user,denied,Cause,### 来源: https://blog.csdn.net/qq_58495578/article/details/123057955