Commit ad42ccdc authored by xuezj's avatar xuezj

修改最大连接数为1000

parent be24a43d
...@@ -19,6 +19,9 @@ max_allowed_packet = 20M ...@@ -19,6 +19,9 @@ max_allowed_packet = 20M
connect_timeout = 3600 connect_timeout = 3600
max_connections = 1000
max_user_connection = 600
# wait_timeout = 86400 # wait_timeout = 86400
# interactive_timeout = 86400 # interactive_timeout = 86400
......
...@@ -18,6 +18,9 @@ log_bin=mysql-bin ...@@ -18,6 +18,9 @@ log_bin=mysql-bin
binlog_cache_size = 5M binlog_cache_size = 5M
binlog-format = ROW binlog-format = ROW
max_connections = 1000
max_user_connection = 600
explicit_defaults_for_timestamp = true explicit_defaults_for_timestamp = true
max_connect_errors = 100 max_connect_errors = 100
max_allowed_packet = 256M max_allowed_packet = 256M
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment