我已尝试过在互联网上找到的所有提示,但无法解决此错误。 我的mysql一切都很好,直到我从intellij中的git放了一个文件夹项目,其中我有一个与mysql的连接。在hibernate文件中我放了用户和密码,当我尝试打开mysql时,它说要输入我的密码,但无论我把它放在哪里都会出错:
Error Message Cannot Connect to Database Server
Your connection attempt failed for user 'root' from your host to server at localhost:3306.Access denied for user 'root'@'localhost'(using password: yes)
Please: 1. Check that mysql is running on server localhost.
Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)
Check the root has rights to connect to localhost from your address (mysql rights define what clients can connect to the server and from which machines)
Make sure you are both providing a password if needed and using the correct password for localhost connecting from the host address you're connecting from
我尝试使用本地套接字/管道更改管理连接标准TCP / IP以及我在网上找到的另一个提示但没有成功。 如果有人有一些建议请回答。