mysql: see all open connections to a given database?

后端 未结 8 2025
感动是毒
感动是毒 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条回答
  •  难免孤独
    2020-12-04 06:48

    You can invoke MySQL show status command

    show status like 'Conn%';

    For more info read Show open database connections

提交回复
热议问题