mysql: see all open connections to a given database?

后端 未结 8 2021
感动是毒
感动是毒 2020-12-04 05:57

With administrative permissions im mysql, how can I see all the open connections to a specific db in my server?

8条回答
  •  旧时难觅i
    2020-12-04 06:42

    In MySql,the following query shall show the total number of open connections:

    show status like 'Threads_connected';
    

提交回复
热议问题