MySQL连接错误:Can't connect to MySQL server on'localhost' (10055)
程序员文章站
2022-05-18 10:09:03
在Windows服务器上确认服务器和mysql都是正常运行,但就是连接不上。搜了一下别人的解决方案, 参考这篇https://blog.csdn.net/langren697/article/details/38422055的说法,问题就出在动态连接数上。给出的解决方案是在注册表自定义最大连接数: ......
在windows服务器上确认服务器和mysql都是正常运行,但就是连接不上。搜了一下别人的解决方案,
参考这篇https://blog.csdn.net/langren697/article/details/38422055的说法,问题就出在动态连接数上。给出的解决方案是在注册表自定义最大连接数:
hkey_local_machine\system\currentcontrolset\services\tcpip\parameters
value name: maxuserport
value type: dword
value data: 65534(十进制)
可以正常运行了。
推荐阅读
-
Linux登录MySQL时出现 Can't connect to local MySQL server through socket '/tmp/mysql.sock'解决方法
-
连接Mysql错误 error 1042 can't get hostname for your address
-
连接Mysql提示Can’t connect to local MySQL server through socket的解决方法
-
MYSQL ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.10.210' (111) 解决方法
-
MySQL连接错误:Can't connect to MySQL server on'localhost' (10055)
-
MySQL错误 ERROR 2002 (HY000): Can't connect to local MySQL server through socket 的解决办法
-
windows 连接 linux 上的mysql出现Can't connect to; is not allowed to connect;Access denied for user
-
连接Mysql错误 error 1042 can't get hostname for your address
-
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)解决办法
-
Can't connect to local MySQL server through socket