---
title: "MySQL integration"
description: "Connect a MySQL database to Softr: show and edit its tables in your apps, and use them in workflows."
canonical: "https://docs.softr.io/integrations/mysql"
updated: "2026-12-04"
---

# MySQL integration

Connect a MySQL database to Softr. Your apps can show and edit its tables, and your workflows can read and write its records. Softr connects to your database directly, so your data stays where it is.

MySQL works like the other SQL databases in Softr. This page covers what is specific to MySQL. For everything else, see [SQL databases](/integrations/sql-database).

## Connect MySQL

1. In the Softr Studio dashboard, select **Integrations** in the left menu.
2. Select **Connect new**.
3. In the **Select an integration** window, select **MySQL**.
4. Enter a **Name** to recognize the connection, then the **Host**, **Port**, **Database**, **User** and **Password**. Softr fills in the default MySQL port, `3306`.
5. Select **Connect**.

If your database only accepts known addresses, add Softr's IP addresses to its allowed list: `3.120.79.212`, `3.123.159.186` and `52.58.246.121`.

> **Tip**
>
> You can also keep your data in Softr Databases, built into Softr and ready for your apps and workflows. See [Softr Databases](/databases/overview).

## Use MySQL in an app or a workflow

1. Add the connection to your app or workflow, as for any SQL database.
2. Select the MySQL connection.
3. Choose the **Database**, then the table.

For blocks, field types and workflow actions, see [SQL databases](/integrations/sql-database).

![The SQL actions in the workflow step picker: Add record, Find record, Find multiple records, Delete record, Delete multiple records, Update record, Update multiple records](/integrations/sql/actions.2x.webp)

_The SQL actions in the step picker of a workflow\._

## FAQ

**Which plan do I need for MySQL?**

MySQL is available on the Business and Enterprise plans.

**Do I connect MySQL once per app?**

No. You connect it once for your workspace. Then every app and workflow in the workspace can use the connection.

**The connection fails. What can I check?**

Check the host, port, user and password. Check that the user can access the database. If your database accepts only known addresses, add Softr's IP addresses to its allowed list.
