#2002 - - 服务器没有响应(或本地服务器的套接字配置不正确)

#2002 - — The server is not responding (or the local server's socket is not correctly configured)

我正在使用 UniServer Zero XIII 13.3.2。几个小时前,一切对我来说都是正常的。我刚刚让我的 PC 进入休眠状态,我猜突然中断了 MySQL 套接字或连接,因为下次我启动计算机并尝试连接时,我收到了这个错误:

#2002 -  — The server is not responding (or the local server's socket is not correctly configured).

我多次尝试重新启动计算机和 starting/stopping Apache 和 MySQL。理论上,MySQL 启动成功,因为我看到绿色方块,而不是红色:

尽管如此,当我转到 MySQL 控制台时,我看到了这个:

Warning: Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (10061)

C:\Users\[path]\UniformServer13_3_2_ZeroXIII\UniServerZ\core\mysql\bin>

此外,当我去 http://localhost:90/us_opt1/index.php 时,我看到了这个:

Welcome to phpMyAdmin

Error
MySQL said: Documentation

#2002 -  — The server is not responding (or the local server's socket is not correctly configured).
 mysqli_real_connect(): (HY000/2002): No se puede establecer una conexi�n ya que el equipo de destino deneg� expresamente dicha conexi�n.
 Connection for controluser as defined in your configuration failed.
 mysqli_real_connect(): (HY000/2002): No se puede establecer una conexi�n ya que el equipo de destino deneg� expresamente dicha conexi�n.
Retry to connect

很明显,MySQL 连接没有成功,尽管显然我可以从 UniServer Zero XIII 面板中看到的内容成功停止和启动 MySQL。关于什么破坏了 MySQL 连接或环境以及如何修复它的任何想法?谢谢。

我不知道出了什么问题,但我所做的是从 https://sourceforge.net/projects/miniserver/files/Uniform%20Server%20ZeroXIII/13_3_2_ZeroXIII/ 再次下载 UniServer Zero XIII 13.3.2,Apache 和 MySQL 都已启动并且 运行,从此新安装再次正常工作。当然,我必须将源代码移动到我完成安装的新文件夹位置。我想分享这个解决方法,而不是试图弄清楚发生了什么,正如我在这个答案开头提到的,我不知道发生了什么。