# 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](https://365492316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7aTljSjWsfbXZ_OP_9%2Fuploads%2FmDOmXcMoa3UzhycfWUFA%2FmySqlConn.png?alt=media\&token=9e4344b7-f1b6-4b06-b530-082886b0eb54)

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 %}
