# MySQL

Add your MySQL database as an external catalog in Altertable to query and analyze it alongside your other data sources.

To add a new MySQL external catalog:

1. Navigate to the **Catalogs** section in the dashboard

2. Click **New catalog**

3. Select **MySQL** as the engine

4. Fill in the connection details:

   - **Host**: The hostname or IP address of your MySQL server
   - **Port**: The port number (default: 3306)
   - **Database**: The name of the database to connect to
   - **Schema** (optional): The name of the schema to connect to
   - **Username**: Your MySQL username
   - **Password**: Your MySQL password

5. Click **Save**

![New MySQL connection form](/screenshots/components-connectionform--my-sql-empty.png)

*New MySQL connection form*

Once added, you can start querying your MySQL data through Altertable's SQL engine.