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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Shivipanwar
Regular Visitor

Unable to connect to mysql database

Hi all, recently, I found that I'm unable to connect Mysql database into Power bi desktop encountered below error: 

Unable to connect 

We encountered an error while trying to connect.

Details: "An error happened while reading data from the provider: 'One or more errors occurred.'

Please help me to how can be fix this error.

I am using Mysql version - C++ 8.0.28

 

 

error bi.png

 

1 ACCEPTED SOLUTION
v-nuoc-msft
Community Support
Community Support

Hi @Shivipanwar 

 

@tharunkumarRTK Thank you very much for your prompt reply.

 

The missing installer is indeed a possible reason.


Allow me to add something here:

 

In Power BI Desktop, go to and enable tracking. Try connecting to MySQL and check the detailed logs in the traces folder for more specific error messages.

 

vnuocmsft_0-1714380741595.png

 

Try clearing any credentials stored in Power BI Desktop and then reconnect.

 

If your connection requires encryption, make sure it is set up correctly.

 

Regards,

Nono Chen

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

View solution in original post

3 REPLIES 3
v-nuoc-msft
Community Support
Community Support

Hi @Shivipanwar 

 

@tharunkumarRTK Thank you very much for your prompt reply.

 

The missing installer is indeed a possible reason.


Allow me to add something here:

 

In Power BI Desktop, go to and enable tracking. Try connecting to MySQL and check the detailed logs in the traces folder for more specific error messages.

 

vnuocmsft_0-1714380741595.png

 

Try clearing any credentials stored in Power BI Desktop and then reconnect.

 

If your connection requires encryption, make sure it is set up correctly.

 

Regards,

Nono Chen

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

It was credentials issue, I have cleared credentials stored in Power BI Desktop and now MySql database is connected.

Thanks @v-nuoc-msft 

tharunkumarRTK
Solution Sage
Solution Sage

@Shivipanwar 

Have you installed Oracle MySQL dot net connector in your machine? if not then follow the instructions in this page.
https://learn.microsoft.com/en-us/power-query/connectors/mysql-database


If the post helps please give a thumbs up


If it solves your issue, please accept it as the solution to help the other members find it more quickly.


Tharun



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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