> ## 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](/core/datasources/the-connectors-page) and click **Create New Connector**. Select MySQL from the available connectors to open the configuration form.

<Frame caption="Click Create Connector.">
  <img height="200" src="https://mintcdn.com/textql/dAiaUp9gKUsOl3N8/images/datasources/new_connector.png?fit=max&auto=format&n=dAiaUp9gKUsOl3N8&q=85&s=513cc032c2551d4809e3ebabb9201d34" alt="New Connector" data-path="images/datasources/new_connector.png" />
</Frame>

<Frame caption="Select MySQL.">
  <img height="200" src="https://mintcdn.com/textql/5I-Puf4gFqTUpa2F/images/datasources/mysql/click_mysql.png?fit=max&auto=format&n=5I-Puf4gFqTUpa2F&q=85&s=50e2f02c41aa269d3ce8d5cb192df780" alt="Click MySQL" data-path="images/datasources/mysql/click_mysql.png" />
</Frame>

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).

<Frame caption="MySQL Connector Form.">
  <img height="200" src="https://mintcdn.com/textql/5I-Puf4gFqTUpa2F/images/datasources/mysql/mysql_form.png?fit=max&auto=format&n=5I-Puf4gFqTUpa2F&q=85&s=58da1ae9fc6b29bb3b814606e3693b57" alt="MySQL Connector Form" data-path="images/datasources/mysql/mysql_form.png" />
</Frame>

### SSL Configuration

For secure connections, MySQL supports SSL/TLS encryption:

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

### 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](/core/datasources/databases/network-configuration) for firewall and IP whitelisting setup.
</Note>
