cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MAAbdullah_47
Helper V
Helper V

Mysql db cannot access or establish a connection through power bi

Dear Experts

I’m trying to access MySQL db located on digital ocean cloud , My SQL Server available on PHP MyDAMIN please check the scree-shot below:

 
MAAbdullah_47_3-1652790347259.png

 

 

 

Now I’m trying to access MySQl DB through power bi I got the following error:

 

MAAbdullah_47_4-1652790382305.png

 

I downloaded My SQL connector from this link: https://dev.mysql.com/downloads/installer/

 

 
MAAbdullah_47_5-1652790449804.png

 

 

 

 

I install it (the connection) but I have the same error , please advice me how to solve this problem?

1 ACCEPTED SOLUTION

hi @v-henryk-mstf 
Thank you for your replay ,  For the link you mentioned it in your replay didn't work for me , it works when creating ODBC MySQL check the screen-shots below:

MAAbdullah_47_1-1653126595646.png

MAAbdullah_47_2-1653126641630.png

But still befor going to connect the ODBC above to power bi you have to set mysql remote connection throgh ssh on windows 10 please check it from the website below:

https://www.sqlshack.com/how-to-connect-to-a-remote-mysql-server-using-ssh/

 

When you establish ssh through (Putty) you should keep it working on the dvice (this is the only limitation) and then test the conncetion:

MAAbdullah_47_3-1653126902187.png

when your test connects successfuly then after that connect it from power Bi and then it will work 100% .

 

If you have any comments please email me back.

 

 




View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @MAAbdullah_47 ,

 

What is the hosting configuration you are using? Does it work to connect to powerbi desktop via the steps linked below?

Connecting MySQL to Power BI: A Comprehensive Guide (hevodata.com)


If the problem is still not resolved, please provide detailed error information and related operation screenshoots. Looking forward to your reply.


Best Regards,
Henry


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

hi @v-henryk-mstf 
Thank you for your replay ,  For the link you mentioned it in your replay didn't work for me , it works when creating ODBC MySQL check the screen-shots below:

MAAbdullah_47_1-1653126595646.png

MAAbdullah_47_2-1653126641630.png

But still befor going to connect the ODBC above to power bi you have to set mysql remote connection throgh ssh on windows 10 please check it from the website below:

https://www.sqlshack.com/how-to-connect-to-a-remote-mysql-server-using-ssh/

 

When you establish ssh through (Putty) you should keep it working on the dvice (this is the only limitation) and then test the conncetion:

MAAbdullah_47_3-1653126902187.png

when your test connects successfuly then after that connect it from power Bi and then it will work 100% .

 

If you have any comments please email me back.

 

 




Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show episode 9

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!