Discuz (1040) notconnect error solution

  

Today's Discuz forum on the server has appeared (1040) notconnect prompt, Discuz official explanation is Too many connections, but in fact the site is very few, use netstat to view port 3306 There are not many connections, it is impossible to solve the problem of Too many connections, then you can only find other problems, found the reason on the Microsoft website: Microsoft patch KB967723 caused MYSQL frequent connection failure. The original solution to this problem is generally to uninstall the patch, but after all, it is not very good. Now that Microsoft has given a solution, the best solution has emerged.

Start the Registry Editor. In the registry, locate the following subkey, and then click the parameter: HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters On the Edit menu, click New, and then add the following registry key: Value Name: MaxUserPort Value Type: DWORD Value data: 65534 Valid range: 5000-65534 (decimal) Default: 0x1388 (5000 decimal) Exit the Registry Editor, restart the computer, and the problem is solved.

Copyright © Windows knowledge All Rights Reserved