我运行XAMPP,
几天前,我通过 phpmyadmin 设置了 root 密码
从那一刻起我就无法访问 phpMyAdmin
我按照帮助这个链接但那里一切似乎都很好(在 config.inc.php 中)。我什至尝试完全卸载 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.
我还尝试按照 mysql 网站帮助上的说明通过 mysqld.bat 重置 root 密码,但无济于事
Please Help!
Here's a screenshot describing the situation:
进入 XAMPP 安装文件夹内的 phpMyAdmin 目录。将有一个名为 config.inc.php 的文件。在该文件中,找到这一行:
$cfg['Servers'][$i]['password'] = '';
您必须确保此字段包含您的 mysql root 密码(您设置的密码)。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)