I changed password in phpmyadmin for root (there was no password actually) and now when I go to phpmyadmin, I receive this error:
(我在phpmyadmin中更改了root密码(实际上没有密码),现在当我进入phpmyadmin时,收到此错误:)
MySQL said: Documentation
(MySQL说:文档)
Cannot connect: invalid settings.
(无法连接:设置无效。)
mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. (mysqli_real_connect():(HY000 / 1045):用户'root'@'localhost'的访问被拒绝(使用密码:NO)phpMyAdmin尝试连接到MySQL服务器,并且服务器拒绝了连接。)
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服务器管理员提供的信息相对应。)
I went to config.inc.php to add the password there, but I can't save modified config.inc.php, it shows that I don't have enough permissions to save it.
(我去config.inc.php在此处添加密码,但是我无法保存修改后的config.inc.php,这表明我没有足够的权限来保存它。)
I went to google and searched for issues.
(我去谷歌搜索问题。)
I tried to change permission through terminal with 644, but it didn't work for me. (我试图用644更改终端的权限,但对我来说不起作用。)
I even tried to reinstall XAMPP, but I still get the same error.
(我什至尝试重新安装XAMPP,但仍然出现相同的错误。)
Now I have phpmyadmin on my computer, which doesn't work at all and I can't change it.
(现在,我在计算机上安装了phpmyadmin,它根本无法工作,并且无法更改。)
Please help me, how can I fix it?
(请帮助我,我该如何解决?)
Also I am using Mac and XAMPP.
(我也在使用Mac和XAMPP。)
ask by DrueTrue translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…