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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How To Connect Power BI to Hosted MySQL Database in Cpanel

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 cPanel hosting and I want to connect to it using Power BI desktop and already installed the recommended mysqlconnector, but i do not know how to connect it so I'll would really appreciate your help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Please refer the following official documentation to connect MYSQL in Power BI:

MySQL database

yingyinr_0-1667460553010.png

MySQL and Power BI, How Does It Work?

 

The following one is the thread which had the similar problem as yours, hope its solution can also help you solve the problem.

How To Connect Power BI to Hosted MySQL Database


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.


Best Regards

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi  @Anonymous ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

Best Regards

Anonymous
Not applicable

I actually have already installed the latest net driver and whitelisted my ip using Cpanel Remote MySQL, 

but i has errors like this

Dlouie2000_0-1667456676132.png


i want to know what should i put here in 

 

Dlouie2000_2-1667456722831.png

to be able to properly connect it

Anonymous
Not applicable

Hi @Anonymous ,

Please refer the following official documentation to connect MYSQL in Power BI:

MySQL database

yingyinr_0-1667460553010.png

MySQL and Power BI, How Does It Work?

 

The following one is the thread which had the similar problem as yours, hope its solution can also help you solve the problem.

How To Connect Power BI to Hosted MySQL Database


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.


Best Regards

amitchandak
Super User
Super User

@Anonymous , what is the error you are facing?

On the power bi machine install MySQL workbench and check you are able to access it. Ip whitelisting can be an issue 

Also, make latest .net driver is installed

https://dev.mysql.com/downloads/connector/net/

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.