# MySQL

### Connecting MySQL Databases

<figure><img src="/files/4RgfyQJZud8Sb4GzTphI" alt=""><figcaption></figcaption></figure>

1. **Navigate to Connections:**
   * In your Airbook workspace, click on the "Connections" tab located on the sidebar.
2. **Select MySQL:**
   * From the list of available data sources, select "MySQL."
3. **Enter Connection Details:**
   * You’ll need the following information to connect:
     * **Host:** The hostname or IP address of your MySQL server.
     * **Port:** The port number for MySQL.
     * **Database Name:** The name of the database you want to connect to.
     * **Username:** Your MySQL username.
     * **Password:** Your MySQL password.
4. **Whitelist Our IP Address:**
   * To ensure seamless connectivity and the ability to query your database without interruptions, please whitelist our IP address: **34.122.205.142**. This step is crucial for establishing a secure and stable connection between your database and Airbook, allowing us to retrieve and analyze your data effectively. Whitelisting our IP address will help avoid any network or security blocks that could prevent successful data queries.
5. **Test Connection:**
   * Click the "Submit" button to ensure Airbook can connect to your MySQL database. If the test is successful, you'll see a success message. Otherwise, you'll be prompted to make the required corrections to your database credentials.
6. **Save and Connect:**
   * Once the connection test is successful, save your configuration. You’ll be prompted to give the connection a schema name. Enter a descriptive name and save it.


---

# 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.airbook.io/connect/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.
