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