> For the complete documentation index, see [llms.txt](https://docs.thingsup.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thingsup.io/connections/mysql-connection.md).

# MySQL Connection

This provides a connection to User's MySQL Database. User need to provide following parameters to establish a connection to their MySQL database.

* **Host** - Public DNS/IP of MySQL Database
* **Port** - MySQL Port Number
* **Database** - MySQL Database Name
* **Username** - MySQL Username
* **Password** - MySQL Password

![Add MySQL Connection](/files/DpuBO2WXk2jGsNh0vmO1)

Please note the following points:

{% hint style="info" %}

* MySQL Authentication Plugin should be mysql\_native\_password.
* localhost database is not supported. You can connect your local MySQL server with tunneling service like [ngrok](https://ngrok.com/)
  {% endhint %}
