我运行XAMPP,几天前我通过phpmyadmin为root密码设置了密码我从那时起就无法访问phpMyAdmin
我在这个链接上关注了帮助但是那里的一切看起来都很好(在config.inc.php中).我甚至尝试完全unistalling xampp,重新启动Windows然后重新安装xampp,但仍指向localhost/phpmyadmin我收到以下错误
MySQL said:
Cannot connect: invalid settings.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the
connection. You should check the host, username and password in your
configuration and make sure that they correspond to the information given
by the administrator of the MySQL server.Run Code Online (Sandbox Code Playgroud)
我还尝试通过mysq的网站帮助中给出的mysqld.bat重置root密码,但无济于事
好吧,我问这个问题是因为我在过去的 4 个小时里试图寻找答案。
我什至不知道我在服务器上做了什么,它不允许我从本地主机连接。但即使安装了与 mysql 安装相关的任何内容并仅重新安装服务器,它也不会让我连接。
当我在应用安全设置上安装服务器后尝试配置它时,它失败并给我那个错误。
我的服务器安装在普通 PC 上,而不是安装在任何网站上,PC 运行的是 win 7,我尝试了 skip-grant-tables 选项以及在卸载服务器后删除注册表项。
请如果有人有任何其他选项供我使用,或者如果您认为我在这些其他选项中做错了什么,请告诉我如何解决这个问题,做正确的事情以及如何做到这一点。