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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
Anonymous
Not applicable

Connecting to Azure Mysql database form Power BI Desktop

I'm trying to connect to an Azure Mysql server from Power BI Desktop. 

I have created a DB user and can connect to the database with mysql workbench with no issues. 
However when i try to connect through PowerBI (get data -> Azure -> Azure database) with the same credentials I get this error message. 

Oblak_0-1602070413508.png


I have tried upgrading Power BI to the newest versjon and listing my IP in the servers Firewall rules, but nothing resolves the issue. 

Have anyone encountered a similar issue?

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your problem.


Best Regards,
Stephen Tao

Anonymous
Not applicable

Hi @Anonymous ,

 

Based on the information in your screenshot, I found this article.

 

It says the issue occurs if the application can't connect to the server.

To resolve this issue, try the steps (in the order presented) in the Steps to fix common connection issues section.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , refer if you might have missed any steps given here

https://docs.microsoft.com/en-us/azure/mysql/quickstart-create-mysql-server-database-using-azure-portal

https://www.mssqltips.com/sqlservertip/5953/create-power-bi-connection-to-azure-sql-database/

 

This might not be needed, but install this driver and check

https://dev.mysql.com/downloads/connector/net/

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I have read through the links you provided and checked my azure database and verified that I have completed every step. 

I have listed my IP in the firewall rules as suggested, and I can connect to the database with mysql workbench. 
Since I can connect to the database through mysql workbench I assume it is not a firewall issue since PBI desktop should be using the same IP when connecting to the database. 

@Anonymous , I think, you are choosing Azure SQL, Try with MySQL as Database

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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