To connect MySQL to ChatGPT, add a MySQL connection in Windsor.ai with your server’s host, port, database user, password, database name and the table you want, and allow Windsor.ai’s IP address (94.130.231.239) on your database server. Then install the Windsor.ai plugin in ChatGPT and ask about that table in plain language.
Each Windsor.ai MySQL connection covers one table, so connect each table you want ChatGPT to read. Create a read-only database user for Windsor.ai first, because ChatGPT only needs to read.
What you need before you start
- A MySQL server that Windsor.ai can reach over the internet on its MySQL port (3306 by default), with your firewall open to 94.130.231.239.
- Permission to create a database user, or a read-only user your database admin creates for you.
- A Windsor.ai account. The free forever plan (no credit card) includes 1 data source. Paid plans start at $19/month for 3 sources, billed annually (pricing).
- A ChatGPT account that can install plugins.
Step 1. Create a read-only MySQL user
Give Windsor.ai its own user that can only read the table you connect. In MySQL, run this with your own database, table and password:
CREATE USER 'windsor_ro'@'94.130.231.239' IDENTIFIED BY 'a-strong-password';
GRANT SELECT ON your_database.your_table TO 'windsor_ro'@'94.130.231.239';
The user can then connect only from Windsor.ai’s IP address and only run SELECT on that table. Repeat the GRANT line for each further table you plan to connect.
Step 2. Allow Windsor.ai’s IP address
If your database sits behind a firewall, a cloud security group or a hosting panel’s remote-access list, add an inbound rule for 94.130.231.239 on your MySQL port. The Windsor.ai connection form shows this address under “Instructions to grant access”.
Step 3. Add the MySQL connection in Windsor.ai
- Open onboard.windsor.ai/app/mysql and log in, or create a free account.
- Enter the host, port, user and password from step 1, the database name and the table name exactly as it is in MySQL.
- Select Add Account. To connect another table, fill in the form again with that table name.

Step 4. Install the Windsor.ai plugin in ChatGPT
- In ChatGPT, select Plugins in the sidebar and search for Windsor.ai, or open the Windsor.ai plugin page.
- Select Install plugin, then Connect Windsor.ai. Sign in to Windsor.ai with the account where you added the MySQL connection and select Back to ChatGPT.
- In a new chat, select + and choose Windsor.ai, or type @Windsor.ai.


To check the connection, ask:
Is MySQL connected in my Windsor.ai account? List the connected tables and the columns of each.
We have no MySQL database connected to our Windsor.ai account, so on 19 November 2026 we asked ChatGPT what a connection needs. It answered “Not connected” and listed the same 6 required fields as the form: host, port, user, password, database and table name. One thing it could not tell us was Windsor.ai’s IP address: it suggested asking Windsor.ai support. The address is on the connection form itself, under “Instructions to grant access”.

What ChatGPT can read from MySQL
Windsor.ai has no fixed field list for MySQL: the fields are the column names of the table you connect, as the MySQL field reference explains. If your orders table has order_date, customer_id and total columns, those are the names to use in your questions.
- Dates: name the date column in your question (“by order_date”), so Windsor.ai filters the right column.
- Several tables: each table is a separate connection. ChatGPT can read several connected tables in one chat and put the results side by side. It does not send your own SQL or run joins on your server.
- Read only: the MySQL connector has no write actions (write actions list, checked on 19 November 2026), and with the user from step 1 the database also refuses any change.
- Cache: the same query repeated within 6 hours can return cached data. Select Clear Cache in Data Preview in the Windsor.ai app for fresh rows.
Prompts to try
Replace the table and column names with your own.
From my MySQL orders table, show the total of the total column by order_date for the last 30 days, and the 3 days with the highest totals.
From my MySQL customers table, count new rows by week of created_at for the last 30 days, and flag any week below the average.
From my MySQL orders table, group the last 30 days by product_category and rank the categories by the sum of total.
Prompts that cover more than 30 days need a paid plan. The free forever plan includes the last 30 days.
Combine MySQL with your other sources
On a paid plan you can connect MySQL tables next to other sources, for example Google Ads or Meta Ads spend next to revenue from an orders table, or Google Analytics 4 sessions next to signups from a customers table, and ask ChatGPT to compare them in one chat.
Troubleshooting
- The connection fails: check that 94.130.231.239 is allowed on your MySQL port, that the host and port are reachable from the internet, and that the user from step 1 exists with that host.
- ChatGPT cannot find a table: each table is a separate connection. Add the table in Windsor.ai and make sure the user has SELECT on it.
- ChatGPT says MySQL is not connected: the plugin may be signed in to a different Windsor.ai account than the one with the MySQL connection.
Next steps
The MySQL to ChatGPT connector page has more use cases. For Claude, see how to connect a MySQL database to Claude. To send other sources into MySQL instead, see the MySQL destination.
Connect your MySQL table in Windsor.ai. Free forever plan, no credit card.
FAQs
Can I connect a whole MySQL database at once?
No. The Windsor.ai MySQL form takes one table name per connection. To let ChatGPT read several tables, add a connection for each one.
Which MySQL data can ChatGPT see?
The columns of the tables you connect. Windsor.ai uses your column names as field names (MySQL field reference), so you ask about order_date or total exactly as they are named in your table.
Is my MySQL data safe?
The MySQL connector has no write actions (write actions list), and a user with only SELECT rights, allowed from 94.130.231.239 only, cannot change anything even if asked. You can remove the connection in Windsor.ai at any time.
Does my database have to be reachable from the internet?
Yes, from Windsor.ai’s IP address. Allow 94.130.231.239 on your MySQL port in your firewall, security group or hosting panel. The Windsor.ai connection form shows the same address.
How much does it cost to connect MySQL to ChatGPT with Windsor.ai?
Windsor.ai has a free forever plan, no credit card required, with 1 data source and the last 30 days of data. Paid plans start at $19/month for 3 sources, billed annually. See the pricing page.
Can I combine MySQL with my other data sources in ChatGPT?
Yes, on a paid plan. Windsor.ai connects 350+ sources, so you can ask ChatGPT about a MySQL orders table next to Google Ads, Meta Ads or Google Analytics 4 data in the same chat.


