# Can we capture the user activities on MySQL database by using the PMM?

**URL:** <https://forums.percona.com/t/can-we-capture-the-user-activities-on-mysql-database-by-using-the-pmm/20776>\
**Category:** Percona Monitoring and Management (PMM)\
**Tags:** pmm\
**Created:** [March 20, 2023, 3:35pm UTC](https://forums.percona.com/t/can-we-capture-the-user-activities-on-mysql-database-by-using-the-pmm/20776 "2023-03-20T15:35:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saidarao](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Saidarao](https://forums.percona.com/u/Saidarao)\
**Post date:** [March 20, 2023, 3:35pm UTC](https://forums.percona.com/t/can-we-capture-the-user-activities-on-mysql-database-by-using-the-pmm/20776/1 "2023-03-20T15:35:24Z")

</div>

Hi all,

How do we capture the user activates using PMM on MySQL server.  
ex: Some one is connected to the production system, he updated the few records, can we capture on PMM

---

<div class="post-metadata">

**Author:** ![Mauricio\_Cacho](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mauricio_cacho/32/5859_2.png) [@Mauricio\_Cacho](https://forums.percona.com/u/Mauricio_Cacho)\
**Post date:** [March 22, 2023, 2:39am UTC](https://forums.percona.com/t/can-we-capture-the-user-activities-on-mysql-database-by-using-the-pmm/20776/2 "2023-03-22T02:39:02Z")

</div>

Hi @Saidarao thanks for posting in the Forum!

You could log the queries enabling the Slow log; and you can see those in PMM / QAN.

But, if I understand your request correctly, you may be better using the [Audit Log](https://docs.percona.com/percona-server/8.0/management/audit_log_plugin.html).

Finally, please check this [Blog Post](https://www.percona.com/blog/percona-audit-log-plugin-and-the-percona-monitoring-and-management-security-threat-tool/) about using PMM and Audit Log Plugin; I hope this helps you find what you’re looking for.
