# MySQL

### Supported destination services

{% hint style="info" %}
Learn more about all of our Destination service types on our [Core Concepts page](/core-concepts.md).
{% endhint %}

DinMo supports syncing User models or segments and associated fields to **MySQL Contact Attributes**.

Use MySQL as a destination when you want DinMo to maintain an operational copy of customer or profile attributes in an existing MySQL database table.

Refer to this documentation page for detailed guidance on setting up an activation with your connected MySQL platform:

* [Synchronize contact attributes](/integrations/destination-platforms/mysql/synchronize-contact-attributes.md)

### When should you use MySQL?

Use MySQL as a destination when you want to:

* Sync customer, contact, or profile attributes into an application database.
* Keep an existing MySQL table updated from a DinMo model or segment.
* Make selected warehouse attributes available to internal tools, backend services, or operational workflows.
* Maintain a destination table using upsert or mirror behavior.

MySQL is usually not the best fit when your downstream use case requires audience delivery to a marketing platform, event forwarding, or a destination table that DinMo must create and manage from scratch.

### Prerequisites

Before connecting MySQL, make sure you have:

* A reachable MySQL host.
* The database name, host, port, user, and password.
* A MySQL user with permission to read table metadata and write to the target table.
* An existing target table with the columns you want DinMo to update.
* Network access that allows DinMo to reach your MySQL deployment.

If your infrastructure is protected by network restrictions or IP allowlists, make sure DinMo can reach the target environment.

### Connect MySQL as a Platform in DinMo

To connect your MySQL platform:

1. In DinMo, navigate to **Destinations**.
2. Click **Add a new destination**.
3. Select **Connect a new platform** and choose **MySQL**.
4. Enter a recognizable name for your platform connection.
5. Enter the MySQL **Host**, **Port**, **Database**, **User**, and **Password**.
6. Save the connection.

Your MySQL platform is now connected to DinMo.

To proceed, refer to the dedicated destination option to create your first activation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dinmo.io/integrations/destination-platforms/mysql.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
