日期:2014-05-16  浏览次数:21197 次

MYSQL老出现10055链接错误,必须重启服务器
我的MYSQL老出现10055链接错误,必须重启服务器才能重新链接!我已经把错误的表格都修复了,但是还是出错。

链接错误如下:

VB code
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10055) in E:\4176\en\includes\db.inc.php on line 25

Warning: mysql_get_server_info() [function.mysql-get-server-info]: Can't connect to MySQL server on 'localhost' (10055) in E:\4176\en\includes\db.inc.php on line 75

Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in E:\4176\en\includes\db.inc.php on line 75
Mysql version can not be less than 4.1

下面是MYSQL错误日志

VB code
110419 19:30:54 [Note] F:\mysql\bin\mysqld-nt: Normal shutdown

110419 19:30:56 [Warning] F:\mysql\bin\mysqld-nt: Forcing close of thread 111894  user: 'root'

110419 19:30:57 [Note] F:\mysql\bin\mysqld-nt: Shutdown complete

110419 19:35:48 [Note] F:\mysql\bin\mysqld-nt: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
110422 14:40:50 [Note] F:\mysql\bin\mysqld-nt: Normal shutdown

110422 14:40:51 [Note] F:\mysql\bin\mysqld-nt: Shutdown complete

110422 14:45:45 [Note] F:\mysql\bin\mysqld-nt: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)


------解决方案--------------------
C:\Program Files\MySQL\MySQL Server 5.5\bin>perror 10055
Win32 error code 10055: 由于系统缓冲区空间不足或列队已满,不能执行套接字上的操作

应该是你得程序连接导致的

或者看看事件查看器有没有相关得报错信息
------解决方案--------------------
链接被长期使用没有释放
检查你的操作