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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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