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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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