Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JoeTheOne
Regular Visitor

Connect to mySQL DB without local gateway

I'd like to connect to a mySQL DB without using a local gateway.

 

The DB is currently on an AWS EC2 server, so it is possible to connect to that without a local gateway?

 

If not, I'd be willing to move the DB to Azure, however only as a mySQL DB, not MS SQL Server. So then, can I connect to a mySQL DB on Azure without a local gateway?

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

Unless I am mistaken, the only databases supported by the cloud gateway are Azure SQL DB, Azure SQL Data Warehouse, Azure Analysis Services and Spark on Azure HDInsight.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @JoeTheOne ,

Normally, if your data source is online we could not add it to the on-premises data gateway in power bi service.

For your scenario,  I'm not clear as I do not have the environment to have a test now. 

As this similar thread has mentioned, when we need to refresh the dataset that connects to Azure database for MySQL in Power BI, gateway is required.

If it is convenient, please have a test by yourself. You could get the data from mySQL DB which in you Azure AWS EC2 server in Power BI Desktop and publish the report in Power BI Service. Then you could go to Setting >>Dataset>>Gateway connection, it will show you whether you need to configure the gateway for this dataset.

If it don't need to have a gateway, it will show like this.

Capture.PNG

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you, I just checked and in fact it does not work without a local gateway. Sad thing that this is the case although the database resides within Azure...

Greg_Deckler
Community Champion
Community Champion

Unless I am mistaken, the only databases supported by the cloud gateway are Azure SQL DB, Azure SQL Data Warehouse, Azure Analysis Services and Spark on Azure HDInsight.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hii @Greg_Deckler 

Do you have any insights on Azure MySQL and PostgreSQL? Do they require an on-premises gateway or a cloud gateway?

Your knowledge in this might be constructive for me!

Proud to be a Super User!!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.