cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pra137
Helper II
Helper II

unable to connect MySQL database

Hello Guys,
I tried to connect Mysql database to power bi it show me the error like,we encountered an error while trying to connect, Detalis:"Mysql;Unable to connnect to any of the specified MySQL hosts,"

Mysql Error.PNG 
please help,
thanks,
pra137

5 REPLIES 5
v-lionel-msft
Community Support
Community Support

Hi @pra137 ,

 

Has your problem been solved?

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes

 

v-lionel-msft
Community Support
Community Support

Hi @pra137 ,

 

v-lionel-msft_0-1612508371183.png

1. Please check whether the server name and database name you entered are correct. If the server name is wrong, Power BI will report this error.

 

2. What's your Power BI Desktop version and Mysql version? 

Please update Power BI to the latest version.

 

3. Check whether the firewall restricts local access to the IP address where the database is located.

 

4. Check whether the status of the database service is "running".

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@pra137 , Install latest version .net connector and check

https://dev.mysql.com/downloads/connector/net/

 

Also my sure you IP is having access of MySQL server

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!
timg
Super User
Super User

Hi Pra,

I see there was an older topic with the same question, could you check if the solutions proposed there solve the issue for you? Unable to connect MYSQL | Details: "MySQL: Unable ... - Microsoft Power BI Community

regards,

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

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