How to increase MySQL connections(max_connections)?

后端 未结 3 1967
眼角桃花
眼角桃花 2020-11-29 21:28

Every socket of MySQL Database will have defaults connections as 100 but I am looking for any way to increase the number of possible connections > 100 to a socket connection

3条回答
  •  抹茶落季
    2020-11-29 21:57

    I had the same issue and I resolved it with MySQL workbench, as shown in the attached screenshot:

    1. in the navigator (on the left side), under the section "management", click on "Status and System variables",
    2. then choose "system variables" (tab at the top),
    3. then search for "connection" in the search field,
    4. and 5. you will see two fields that need to be adjusted to fit your needs (max_connections and mysqlx_max_connections).

    Hope that helps!

    The system does not allow me to upload pictures, instead please click on this link and you can see my screenshot...

提交回复
热议问题