---
updatedAt: 2026-01-25T20:17:27.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# Uninstall the MySQL app

# Stop the data collection

Stop the data collection in your managed and unmanaged MySQL instances.

## Stop the data collection in your managed MySQL instances

To uninstall the data collection for your managed instances, follow the below instructions:

1. Remove the Telegraf configuration file `/etc/telegraf/telegraf.d/inputs.mysql.conf` as well as the FluentBit config file `/etc/td-agent-bit/observe-mysql.conf`.
2. Restart Telegraf using the command `service telegraf restart`.
3. Restart Fluent Bit using the command `service td-agent-bit restart`.
4. (Optionally) Remove the additional observability lines in your `my.conf` from the installation when you configured [data collection on your managed instances](https://docs.observeinc.com/docs/install-the-mysql-app#/collect-data-on-your-managed-instances).
5. Disable the connection between your MySQL DB instance and Telegraf by deleting the `telegraf-client` user.

```text
DROP USER 'telegraf-client'@'localhost';
```

Be sure to restart your MySQL DB service if necessary for any of these changes to take effect.

## Stop data collection in your unmanaged MySQL instances

To uninstall the data collection for instances you do not manage, follow the below instructions:

1.On the server that you manage, where you installed Telegraf, remove the Telegraf configuration file `/etc/telegraf/telegraf.d/inputs.mysql.conf`.

2. Restart Telegraf using the command `service telegraf restart`.
3. On your MySQL DB instance, disable remote connections from Telegraf by deleting the `telegraf-client` user.

```text
DROP USER 'telegraf-client';
```

# Uninstall the MySQL app

Follow the instructions in [Delete an app](https://docs.observeinc.com/docs/observe-apps-1#/delete-an-app) to uninstall the MySQL app.