正在安装xampp,但phpmyadmin未连接

chy5wohz  于 2022-09-18  发布在  Java
关注(0)|答案(1)|浏览(113)

因此,我在运行Ubuntu 14.04LTS的Linux机器上安装了Xampp。现在突然发现,当我尝试连接到phpmyadmin时,它拒绝连接。我也已经单独安装了MySQL,但它似乎不起作用。有解决此问题的方法吗?

我得到的错误是:

MySQL said:

Cannot connect: invalid settings. Connection for controluser as defined in your configuration failed. 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.

有没有发生这种情况的原因和解决办法?

efzxgjgh

efzxgjgh1#

1.转到http://localhost/security/,然后单击链接http://localhost/security/xamppsecurity.php
1.在此之后,将超级用户的密码更改为“根”。

之后打开你的http://localhost/phpmyadmin/

相关问题