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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
bjo7000
Frequent Visitor

I just installed power bi and trying to connect to mysql server. I have server downloaded but can't

I just installed power bi and trying to connect to sql server. I do have sql server installed but can't connect to the server. (provider:Named Pipes Provider, error: 40 -SQL Server)

Some troubleshoot recommends checking mysql configuration manager to be installed, but I can't seem to locate the file. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@bjo7000 , install the latest .net driver 8.0.22 - https://dev.mysql.com/downloads/connector/net/

And then check. Also may sure you ip is whitelabeled (allowed) for access.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
bjo7000
Frequent Visitor

I tried installing the connector, but it says it is already installed. Same error message appears. Is it a problem with ip access? Mysql dashboard has connection to the server. 

Seems like I need to download the mysql configuration manager. It says it comes with server download, but as I mentioned there is no file corresponding to the name. Should I reinstall the mysql server?

amitchandak
Super User
Super User

@bjo7000 , install the latest .net driver 8.0.22 - https://dev.mysql.com/downloads/connector/net/

And then check. Also may sure you ip is whitelabeled (allowed) for access.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
nvprasad
Solution Sage
Solution Sage

Before you can connect to a MySQL database, you need to install MySQL Connector/Net 6.6.5 for Microsoft Windows on your computer. Select the driver that matches your Power BI Desktop installation (32-bit or 64-bit).

After installing the MySQL connector, refer to this blog to connect to MySQL in Power BI Desktop.

If the connection still fails in Power BI Desktop, please check that if you are able to connect to the MySQL database in MySQL workbench, ensure that MySQL workbench is installed in the same machine as Power BI Desktop.

Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂

Regards,
N V Durga Prasad

 

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos.
Follow me on LinkedIn.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors