所以我在運行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 –