Forum Discussion
Unable to Connect to MySQL database
I tried to connect to MySQL database. It gives the following error. Any help please?
When I select to SQL
Details: "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.'"
37 Replies
- AnonymousNot applicable
I had the same problem with 8.0.17. I uninstalled it, and installed 8.0.16 from here: https://mirrors.dotsrc.org/mysql/Downloads/Connector-Net/ . Error went away.
- andrelomartinsAdvocate I
- AnonymousNot applicable
Hi,
i have downloaded and installed 8.0.16, but still it shows 8.0.17 in start menu.
How do i check whether it is 8.0.16 in MySQL?
i belive folder name is 8.0.17 but it has changed.
please let me know if you have any suggestion or solution for it.
- NumaFrequent Visitor
Same issue. Also solved with 8.0.16. Thanks :)
- AnonymousNot applicable
problem is gone.
Thanks
- pascalhouleNew Member
Hello,
I have fixed that issue by using an older version fo the mysql-connector...
Here a link that I will share for some time: mysql-connector-net-8.0.12 (x64)
Hope that will help some of you :)
pH
- AnonymousNot applicable
Thanks) Its working :smileyhappy:
- AnonymousNot applicable
I had the same problem, but it emerged from wanting to install the latest version of the Mysql Connector (mysql-connector-net-8.0.17).
Once installed, the problem started.
I rolled back to the previous version of the connector that I had installed (mysql-connector-net-6.10.8).
Problem solved.
- AnonymousNot applicable
Same here.Connection to mysql is not working on PowerBI desktop, PBI gateway or even by PowerQuery in excel. All three returns same error about renci.sshnet dll.
OS: Windows Server 2019 on Amazon Web Services.
Latest version of .Net and mysql connectors installed.
Related post:
- AnonymousNot applicable
Hi,
I solved this problem by uninstalling the latest version of MySQL Connector (8.0.17) and installing the 8.0.15. I followed this video : https://www.youtube.com/watch?v=VC9h7yVRHV8
And this is the link to download the version 8.0.15 : https://downloads.mysql.com/archives/c-net/
Good luck you all.
- humoon88Frequent Visitor
I'm having this same problem - but it is on the PowerBI App service.
The local desktop connects just fine.
Make sure you have the most up-to-date MySQL Connectors. Maybe that will help.
I'm unsure how to address this error o App.powerbi.com however.
- TwentytwoNew Member
I have the same issue here. Using the latest Mysql connector doesn't solve the error.
Does anyone know how to solve it?
Thanks a lot!
- AnonymousNot applicable
I also have problem same as you.
I tried with latest Mysql connector and Mysql version 5.x and 8.x. It didn't work
Please let me know if someone has a solution.
- MoritzPFrequent Visitor
same issue here. it worked this morning on both desktop and app service, now it broke on both.
I tried reinstalling Power BI Desktop as well as the MYSQL Connector multiple times.
- AnonymousNot applicable
This version of MySQL Connector fixed the problem for me : https://go.microsoft.com/fwlink/?LinkId=278885
- Julien_VNew Member
Same issue here... Latest MySQL Connector and PowerBI Desktop...
- AnonymousNot applicable
I have the same issue.
Tried reinstalling both PowerBi and mysql-connector and issue stills exists.