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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
CloudMonkey
Post Prodigy
Post Prodigy

MySQL connection firewall whitelisting

Hi,

 

I need to connect Power BI to a MySQL database. I'm told the database is on a firewalled server so by default Power BI will be blocked from accessing the server. Please can you tell me what IP address / domain needs to be whitelisted on the firewall to enable access?

 

Thanks for your help,

 

CloudMonkey

3 REPLIES 3
steve_ewing
New Member

Since this is the top result on Google and there is no answer I'll necro the thread to add the link to MS Azure's ServiceTags.  They are the lists of IP addresses you need for each Azure service for each region.

https://www.microsoft.com/en-us/download/details.aspx?id=56519

v-yuezhe-msft
Microsoft Employee
Microsoft Employee

Hi @CloudMonkey,

As far as I know, MySQL server listens on port 3306 by default, in your scenario, please open the port in firewall, and also add port number with server name(Servername:3306) to connect to MySQL in Power BI Desktop.

If the issue still occurs, please post full error message.

Reference:
How to Determine Which Port MySQL is Running On
Open Firewall Ports


Thanks,
Lydia Zhang

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

Hi, @v-yuezhe-msft 

 

I'm having the same problem as @CloudMonkey , my company has a tightly-secured MySQL database on a server and only trusted connections from the Internet can be accepted. Your proposed solution doesn't mention IP ranges or hostnames that the Power BI service uses when connecting to a MySQL database, and of course I couldn't find anything online despite being a fairly reasonable question.

 

Where can we find the IP ranges or hostnames that Microsoft uses when connecting to an on-premise MySQL database from the Power BI Service? My data is hosted in Nortern Europe (Ireland), but info for other regions would also help.

 

Thanks!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.