# MySQL

Steps to connect MySQL source to Dataflake is like connecting PostgreSQL to Dataflake. Read this [section](https://doc.dataflake.co/data-sources/postgresql) to learn more&#x20;

**To connect to MySQL,** from the top navigation bar click on the ![](https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FIqQLM98Z6GVIQnzudImc%2Fimage.png?alt=media\&token=170d46dd-f498-4aa0-869a-10b8856e0595) icon.

Choose the **Connection strings** tab.

Click the **Add** button.

Enter the Name of your connection.

Select **MySQL** from the Connection type.

Enter your connection string.&#x20;

1. **Hostname:** where your database is hosted
2. **Port:** add port name
3. **Database:** name of your database&#x20;
4. **User:** username of the Database you want to connect&#x20;
5. **Password:** password of the Database you wish to connect

Click **Next** then Click the **Complete** button to establish your Connection.

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FfytnWNPnqZ0G1lAH4wWU%2Fimage.png?alt=media&#x26;token=ad6343a9-9c25-490d-88e2-183b2ef61bee" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can paste the host url in the Host box to connect to your database quickly
{% endhint %}
