我无法在xampp中打开phpmyadmin,显示访问被拒绝

时间:2019-02-27 14:12:28

标签: php mysql phpmyadmin

它显示以下错误:-

mysqli_real_connect(): (HY000/2002): A socket operation was attempted 
to an unreachable host.

Connection for controluser as defined in your configuration failed.
mysqli_real_connect(): (HY000/2002): A socket operation was attempted 
to an unreachable host. 

 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.

1 个答案:

答案 0 :(得分:0)

此错误表明网络未连接或配置不正确。绝对是客户端计算机上的错误,而不是服务器上的错误。

您无法做很多事情来“解决”问题。您几乎可以做的就是升级客户端的网络驱动程序并检查连接问题(也许它们几乎不在无线范围内,或者以太网电缆缺少其锁定选项卡)。