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
Oos
Frequent Visitor

Help needed with connecting data source, in browser data source valid and in desktop app error

Hi all,


i'm trying to connect to an MySQL database. According to powerbi.microsoft I have successfully added the gateway and MySQL data source


inbrowser-success.PNG

 

 

 

 

I then want to create a dashboard with this data source. When I try to connect with the same data (server, database name, credentials) from PowerBI Dekstop, I get the following message:


"An error happened while reading data from the provider: 'Could not load file or assembly 'Renci.SshNet, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106' or one of its dependencies. The system cannot find the file specified."



Anyone an idea how i can fix this? I already installed mysql-connector-net-8.0.16.msi

 

 

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

Hi @Oos ,

 

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). I found the latest version is 8.0.17.

After installing the MySQL connector, refer to this blog to connect to MySQL in Power BI Desktop. You need to provide database credentials not windows

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-eachen-msft
Community Support
Community Support

Hi @Oos ,

 

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). I found the latest version is 8.0.17.

After installing the MySQL connector, refer to this blog to connect to MySQL in Power BI Desktop. You need to provide database credentials not windows

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

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.