Showing results for 
Search instead for 
Did you mean: 
selofer New Member
New Member

unable to connect to mysql



I'm trying to connect to my online mysql database through Power BI Desktop, but no matter the configuartion, i get an error :


« MySQL : Unable to connect to any of the specified MySQL hosts. »


Is there an IP to whitelist on the firewall ? is it my own IP ? Any other idea 



Microsoft v-ljerr-msft

Re: unable to connect to mysql

Hi @selofer,


Based on my research, you should be able to follow steps below to troubleshoot this issue.Smiley Happy


Firstly, are you able to connect to the database through MySQL workbench? Make sure that MySQL workbench is installed  on the same machine with Power BI Desktop. If the connection fails, please follow the instructions in this blog to troubleshoot this issue.

Secondly, if you are able to connect to database using MySQL workbench, please use same connection parameters in Power BI Desktop, and also add port number with server name to connect to MySQL.

Thirdly, ensure that you 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).



Helpful resources

Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors