What does max_connections really mean?

前端 未结 3 1435
遥遥无期
遥遥无期 2021-01-01 16:24

I\'m trying to set the ideal performance setup for MySQL and resources needed on a shared hosting.

My question is, what does max_connections really mea

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-01 17:19

    Yes, there is a separate connection opened for each page. However, assuming you're not doing anything database-intensive, the connection will be short-lived and close itself once the page has been served to the client.

    If you do exceed the maximum number of connections, any subsequent connection attempt will fail.

提交回复
热议问题