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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
magdarlyn
Advocate I
Advocate I

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
Advocate I
Advocate I

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
Advocate I
Advocate I

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors