我在我的机器上安装了xampp。一切都很好,但是phpmyadmin没有打开。它列出了许多错误,如图所示或
MySQL said:
Cannot connect: invalid settings.
mysqli_real_connect(): (HY000/2002): No such file or directory
Connection for controluser as defined in your configuration failed.
mysqli_real_connect(): (HY000/2002): No such file or directory
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.我试着编辑用户名和密码以及config.inc.php中的主机地址,但无论如何都没有帮助。
有人能给我看一盏灯吗?

发布于 2018-12-20 12:41:04
您可能错配置了PHPMyAdmin。
您可以使用sudo dpkg-reconfigure phpmyadmin重新配置它。
https://askubuntu.com/questions/1103347
复制相似问题