完美解決java.sql.SQLException: Access denied for user 'root'@'localhost' (using password YES)

換了電腦後,導入原來的javaWeb項目,運行項目出現以下提示: java.sql.SQLException: Access denied for user ‘root’@’localhost’ (using password YES) 分析: 1.用戶名或者密碼或者驅動沒有寫好—–>檢查配置文件修改 2.權限問題 我的情況屬於2 我幾天按照網上各種辦法都試過修改權限,有的簡單有的複雜,仍然不成功
相關文章
相關標籤/搜索