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
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.

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.

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

 

 

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.