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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.