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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
v-stephen-msft
Community Support
Community Support

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

v-stephen-msft
Community Support
Community Support

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/

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.