Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
magdarlyn
New Member

How To Connect Power BI to Hosted MySQL Database

Good day house,

 

Please, I am currently experiencing a challenge with Power BI and will appreciate any help/suggestion I can get.

 

I have a MySQL database which is hosted on Godaddy (cPanel hosting) and want to connect to it using Power BI desktop. I have installed the recommended connector (MySQL Connector/Net 6.6.5 for Microsoft Windows) and attempted the connection with (hostname, IP address, IP address: port etc)but I keep receiving the error below.

 

Has anyone else resolved this? I'll really appreciate your help. Thanks in advance.

 

PowerBI-connection-error.JPG

2 ACCEPTED SOLUTIONS
v-qiuyu-msft
Community Support
Community Support

Hi @magdarlyn,

 

Are you able to connect to MySQL with MySQL workbench? Ensure that MySQL workbench is installed in the same machine as Power BI Desktop.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
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

magdarlyn
New Member

Thanks, Qiuyun Yu!

 

This solution worked for me. When trying to connect with MySQL Workbench, I realized remote connections had to be enabled on the cPanel hosting. Once done, I was able to connect with Power BI.

 

Thanks again for your assistance.

View solution in original post

5 REPLIES 5
mdsmith1
Helper I
Helper I

I have my database on GoDaddy with cPanel and it is working fine.  I have tried to access this database using MS Workbench and it is reporting Port probems. 

Which Port should I give it? 

v-qiuyu-msft
Community Support
Community Support

Hi @magdarlyn,

 

Thanks for your update. I will close this thread as the issue is gone now. Smiley Happy

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
magdarlyn
New Member

Thanks, Qiuyun Yu!

 

This solution worked for me. When trying to connect with MySQL Workbench, I realized remote connections had to be enabled on the cPanel hosting. Once done, I was able to connect with Power BI.

 

Thanks again for your assistance.

Vicky_Song
Impactful Individual
Impactful Individual

 
v-qiuyu-msft
Community Support
Community Support

Hi @magdarlyn,

 

Are you able to connect to MySQL with MySQL workbench? Ensure that MySQL workbench is installed in the same machine as Power BI Desktop.

 

Best Regards,
Qiuyun Yu

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.