# MySQL

MySQL is a popular relational database management system (RDBMS) and is widely used in various industries due to its scalability, flexibility, and ease of use.

## Prerequisites

* Get MySQL database connection parameters from the database owner.

## Connect to MySQL data source

Create a new data source in two ways. Note that this permission is restricted to workspace admins and developers.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2FU6oM3c1Xy4mynsi7iOlf%2FConnectNewDataSourceOverview.gif?alt=media&#x26;token=504e1486-57a6-40c6-904f-77152ef1b3aa" alt=""><figcaption></figcaption></figure>

Select **Database** > **MySQL** as the data source type.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2F3fpfzHe1WipmalXjAnGx%2Fimage.png?alt=media&#x26;token=68ef3d3c-1951-4dcb-8e00-5f58c4f84908" alt=""><figcaption></figcaption></figure>

Set its name and service account.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2Fz5gfzyEqWBEa6mNIDD19%2Fimage.png?alt=media&#x26;token=ecf10daf-94c8-48fc-a11c-72e789935210" alt=""><figcaption></figcaption></figure>

(Optional) Click **Test connection** to check whether the new data source is successfully connected.

Click **Save**, and it will be saved to your data source library.
