> ## Documentation Index
> Fetch the complete documentation index at: https://docs.textql.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MySQL Connector

> Connecting TextQL to MySQL

To connect TextQL with your MySQL instance, you will need to gather the following connection details:

* Host and port (default 3306)
* Database name
* Authentication credentials (username and password)
* SSL configuration (if required)

### Creating the Connector in TextQL

Navigate to the [TextQL Connectors Page](https://docs.textql.com/core/datasources/the-connectors-page.md) and click **Create New Connector**. Select MySQL from the available connectors to open the configuration form.

![New Connector](https://mintcdn.com/textql/dAiaUp9gKUsOl3N8/images/datasources/new_connector.png?fit=max\&auto=format\&n=dAiaUp9gKUsOl3N8\&q=85\&s=513cc032c2551d4809e3ebabb9201d34)

Click Create Connector.

![Click MySQL](https://mintcdn.com/textql/5I-Puf4gFqTUpa2F/images/datasources/mysql/click_mysql.png?fit=max\&auto=format\&n=5I-Puf4gFqTUpa2F\&q=85\&s=50e2f02c41aa269d3ce8d5cb192df780)

Select MySQL.

The form requires the following information:

* **Connector Name:** A descriptive name to identify this specific MySQL connection in TextQL.
* **Host:** Your MySQL server hostname or IP address.
* **Port:** The MySQL port (typically 3306).
* **Database:** The name of your target MySQL database.
* **Username:** Your MySQL username.
* **Password:** Your MySQL password.
* **Schema:** The schema name within your database (optional).

![MySQL Connector Form](https://mintcdn.com/textql/5I-Puf4gFqTUpa2F/images/datasources/mysql/mysql_form.png?fit=max\&auto=format\&n=5I-Puf4gFqTUpa2F\&q=85\&s=58da1ae9fc6b29bb3b814606e3693b57)

MySQL Connector Form.

### SSL Configuration

For secure connections, MySQL supports SSL/TLS encryption:

* **Enable SSL:** Toggle to enable SSL/TLS encryption for the connection

When the host is an Amazon RDS endpoint (`*.rds.amazonaws.com`), TextQL always connects over TLS and checks the server certificate against the Amazon RDS certificate authorities and the endpoint name. If the connection fails with a certificate error, make sure the host is the endpoint from the RDS console, or turn on **Skip TLS certificate verification** to connect without the check.

### Supported Versions

TextQL supports the following MySQL versions:

* Amazon RDS for MySQL
* Google Cloud SQL for MySQL
* Azure Database for MySQL

### Testing the Connection

After entering your credentials, click **Create** to establish the connection. TextQL will validate your credentials and create the connector. If the connection fails, verify your host, port, and authentication details.

> [!NOTE]
>
> Having trouble connecting? See the [Network Configuration Guide](https://docs.textql.com/core/datasources/databases/network-configuration.md) for firewall and IP whitelisting setup.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.