cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pranim
Helper I
Helper I

Trying to connect to MY SQL from Power BI

I am trying to connect to My sql  from Power BI desktop and i am getting the pop window to download My sql tool. should i download them on my computer? I have the images of the pop ups saved but i am not able to attach them here, any easy way to do it?

 

Thanks in advance

 

 

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft
Microsoft

@pranim,

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

After installing the MySQL connector, refer to this blog to connect to MySQL in Power BI Desktop.

If the connection still fails in Power BI Desktop, please check that if you are able to connect to the MySQL database in MySQL workbench, ensure that MySQL workbench is installed in the same machine as Power BI Desktop.

 
Regards,

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

View solution in original post

6 REPLIES 6
elflakoconk
Helper II
Helper II

Is it possible to connect from an other computer, different where the MySQL db is installed?

v-yuezhe-msft
Microsoft
Microsoft

@pranim,

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

After installing the MySQL connector, refer to this blog to connect to MySQL in Power BI Desktop.

If the connection still fails in Power BI Desktop, please check that if you are able to connect to the MySQL database in MySQL workbench, ensure that MySQL workbench is installed in the same machine as Power BI Desktop.

 
Regards,

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

View solution in original post

Once I upgraded to mysql-connector-net-8.0.18, it will throw "MySQL: Unable to connect to any of the specified MySQL hosts." error. When I use the latest version 8.0.27, it will throw ""An error happened while reading data from the provider: 'Connection option 'server' is duplicated" error message.

My database version remain unchanged at 5.1.73 - but now with the connector upgrade, I am no longer able to connect. The previous version 6.6.5 no longer works 😞 Any ideas?

Today, current version is 8.0.18. It can be downloaded from https://dev.mysql.com/get/Downloads/Connector-Net/mysql-connector-net-8.0.18.msi

 

@v-yuezhe-msft I Cannot find any MY SQL conector/net for x64 version of power BI. I would be very pleased if you could help me find it

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Top Solution Authors