Connect MySQL to ChatGPT

Connect your MySQL database tables to ChatGPT with the Windsor.ai plugin.

Ask ChatGPT about a table, such as orders by day or revenue by product category. Compare the answers with Google Ads or Meta Ads in the same chat.

Connect in three steps: fill in a form in Windsor.ai, then install the plugin in ChatGPT.

Free forever plan No credit card needed
logo connect
Windsor.ai is your proven MySQL to ChatGPT connector
google cloud
meta partner
google partner
snowflake
users love us
medal
soc2
google cloud
meta partner
google partner
snowflake
users love us
medal
soc2

Ask ChatGPT about your MySQL tables

Once a MySQL table is connected in Windsor.ai, you can ask ChatGPT about it through the Windsor.ai plugin.

Ask in plain language

Ask ChatGPT for revenue by product category, orders by country or signups by day from your MySQL tables. ChatGPT works out which columns, dates and filters the question needs, and Windsor.ai returns that data from your table. Anyone on the marketing or sales team can get a figure from the table without asking a developer for a query.

Find what changed and where

If a total in your MySQL table falls, ask ChatGPT which channel, product category or country changed most between the last 14 days and the 14 days before.

Spot unusual days

Ask ChatGPT for a daily total from your MySQL table for the last 30 days and to flag the days well above or below the average. Check those dates in your database or your ad accounts.

Compare MySQL with your ad platforms

Add Google Ads or Meta Ads in Windsor.ai next to your MySQL orders table, then ask ChatGPT to set ad spend by campaign against revenue by utm_campaign. Keeping both sources after the first 30 days needs a paid plan, because the free forever plan covers 1 source.

How ChatGPT reads your MySQL data through Windsor.ai

Supported fields: 5 dimensions

Windsor.ai connects to MySQL with your host, port, user, password, database and table name, one table at a time. After you connect, ChatGPT can ask for the table’s columns by their own names. For another table from the same database, connect it the same way. All tables from one MySQL database count as a single account on your plan. Views work too, as long as the MySQL user you gave Windsor.ai can SELECT from the view and from the tables it reads.

Windsor.ai returns the columns ChatGPT asks for, within the date range and filters it sets. Ask for raw records and you get one row for each table record that matches. Windsor.ai doesn’t add up MySQL columns by default. Numbers are summed only when your question asks for a total, a count or a grouped result, such as revenue by category, and ChatGPT then answers with the aggregated figures.

Name the date column in your question, for example: “From my orders table, show revenue by product category for the last 30 days, using order_date as the date.” On the free forever plan, a question can reach back 30 days at most. If your table has no date column, Windsor.ai reads the rows it holds at the time you ask.

Join 40,000+ businesses that trust Windsor.ai to streamline MySQL to ChatGPT integration
audi logo
colgate
asics
roche
novo nordisk logo
UBS
unicef
verisure
wpp
club med
skoda
heineken
puma
audi logo
colgate
asics
roche
novo nordisk logo
UBS
unicef
verisure
wpp
club med
skoda
heineken
puma

How to connect MySQL to ChatGPT with Windsor.ai

Watch the video tutorial, or follow our step-by-step guide to connecting MySQL to ChatGPT, which also shows how to create a read-only MySQL user.

1

Select your data source

Choose MySQL as your data source. Allow Windsor.ai’s IP address (94.130.231.239) on your MySQL port, then enter the host, port, user, password, database and table name and select Add Account.

Windsor.ai MySQL connection form with host, port, user, password, database, table name and the IP address to allow
Install the Windsor.ai plugin in ChatGPT
ChatGPT checking the Windsor.ai account for a MySQL connection and listing the fields the form needs

FAQs

How do I connect MySQL to ChatGPT?

Add your MySQL table in Windsor.ai with the host, port, user, password, database and table name. Then install the Windsor.ai plugin from ChatGPT’s Plugins directory and ask a question in a new chat. Windsor.ai’s IP address (94.130.231.239) needs access to your MySQL port, 3306 by default.

Tired of manual MySQL data exports? Try Windsor.ai today to automate your reporting

Access your data from various sources in one place. Get started for free.
g logo
fb logo
big query data
youtube logo
power logo
looker logo