所以我在运行Ubuntu 14.04LTS的Linux机器上安装了xampp。现在突然间,当我尝试连接到phpmyadmin时,它拒绝连接。我已经分别安装了mysql,但似乎没有工作。任何解决方法?安装xampp但phpmyadmin无法连接
,我得到的错误是:
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.
任何之所以出现这种情况和解决方案呢?
你尝试使用mysql客户端命令行进行连接? 您是否[在phpmyadmin中配置主机,端口,登录名和密码](https://wiki.phpmyadmin.net/pma/Config/Servers#host)? –
2 MYSQL服务器不会在相同的端口上运行(通常为3306),因此您很可能会连接到其他您的用户标识不存在或其他密码的MySQL服务器 – RiggsFolly
为我工作@RiggsFolly –