要疯了 MySQL 10061 错误 网上解决方法全试了....
Can't connect to MySQL server on 'localhost' (10061)
MYSQL服务运行着,可以正常连接,就是偶尔会出现10061问题,刷新一下就又好了
win2003系统
MYSQL版本 5.1.55
不是通过安装程序安装
C:\WINDOWS
C:\
和安装目录中均没找到my.ini文件
max_connections的值也不知道在哪里可以改
通过mysqladmin -uusername -ppassword variables 看到max_connections的值是151
我根据网上说的方法修改max_connections的值没用
方法是:
mysql -uusername -ppassword
mysql> set GLOBAL max_connections=2000
回车后没显示任何内容
继续用mysqladmin -uusername -ppassword variables 看到max_connections的值是151