Microsoft Power BI connect to mysql

匿名 (未验证) 提交于 2019-12-03 02:27:02

问题:

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 give 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 same credential from same machine. I can connect, But i am not connecting from excel power bi

回答1:

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

mysql-connector-net-6.6.5.msi

I found the file here.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!