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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors