How can I see how many MySQL connections are open?

前端 未结 5 1352
甜味超标
甜味超标 2020-12-12 20:35

How can I see how many connections have been opened during the current request via mysql_connect in PHP running on Apache?

I know that if I call m

5条回答
  •  旧时难觅i
    2020-12-12 21:22

    You could use the MySQL command show processlist to get the number of connections.

提交回复
热议问题