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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

MySQL: Connection refuse.

Hi P BI SME's,

 

I have mysql server running locally on my laptop at port 3306 and am able to connect to it easily and generate the necessary reports etc. Actually i am taking a MySQL dump from the test server and locally connecting. However, in order to make my reports more real time based,  when i try to connect to the power desktop with the data source option as a mysql and point to the test server within the same domain in my organization, power bi isnt able to connect to mysql and says connection refused. So wanted to know if there is any setting in mysql which will allow to receive connection requests from other sources such as my laptop within power bi desktop? Am i missing something?

Thanks,

Gaurav.

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous ,

1. Make sure your ip address is whitelisted

2. User has access to schema

3. Credentials are correct 

4. Make sure latest .net driver is installed  https://dev.mysql.com/downloads/connector/net/

 

Go to Home Tab -> Transform Data -> Data Source credential -> Clear permissions and try again

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.