Forum Discussion

MAAbdullah_47's avatar
4 years ago
Solved

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:

 

 

 

 

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

 

 

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

 

 

 

 

 

 

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

  • MAAbdullah_47's avatar
    MAAbdullah_47
    4 years ago

    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:

    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:

    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.

     

     




2 Replies

  • v-henryk-mstf's avatar
    v-henryk-mstf
    Icon for Community Support rankCommunity 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.

    • MAAbdullah_47's avatar
      MAAbdullah_47
      Icon for Helper V rankHelper V

      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:

      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:

      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.