Please select To the mobile version | Continue to access the desktop computer version
| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 149|Reply: 1
Collapse the left

[Usage] Discuz appears (1040) notconnect solution

[Copy link]
Post time: 2019-3-27 05:53
| Show all posts |Read mode
本帖最后由 roxmake 于 2019-3-27 05:54 编辑

Discuz appears (1040) notconnect
Error number: 1040
Problem analysis:

The number of connections exceeds the value set by MySQL and is related to max_connections and wait_timeout. The larger the value of wait_timeout, the longer the idle wait for the connection, resulting in a higher number of current connections.
Solution:
Modify the parameters in the MySQL configuration file (my.ini for Windows, my.cnf for Linux) :

  1. max_connections= 1000
  2. wait_timeout = 5
Copy the Code


 Russia

Post time: 2019-3-29 21:13
| Show all posts
More details, please!
Why is this?
When is this?
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub  

2019-4-19 08:18 GMT+3 , Processed in 0.088547 sec., 11 queries .

Powered by Discuz! X3.4

Release 20170801, © 2001-2019 Comsenz Inc.

MultiLingual version, Rev. 710, © 2009-2019 codersclub.org

Quick Reply To Top Return to the list