Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Power BI connect to mysql

Tags:

powerbi

My mysql server is on the cloud. I install the connector to connect mysql on Window 7 machine. Then I try to connect from Power BI to MySQL server. I give the IP address and database name, my root credential. Then I click on save. It gives me the following error.

DataSource.Error: MySQL: Unable to connect to any of the specified MySQL hosts.
Details:
    Message=Unable to connect to any of the specified MySQL hosts.
    ErrorCode=-2147467259

Then I try to connect from mysql workbench with the same credential from the same machine. I can connect, but I am not connecting from Excel Power BI.

like image 635
user1480032 Avatar asked Nov 24 '25 07:11

user1480032


1 Answers

I found that you need to install a special driver to get PowerBi to work with MySQL. The link to that driver is actually in the error message (but you can't click on it or select the text?). enter image description here

mysql-connector-net-6.6.5.msi

I found the file here.

like image 93
billmanH Avatar answered Nov 26 '25 07:11

billmanH



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!