| |
| | |

CodersClub

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

[Usage] Discuz appears (1040) notconnect solution

[Copy link]
Post time: 2019-03-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-03-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

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 04:47 GMT+3 , Processed in 0.029896 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list