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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
cdog
Frequent Visitor

Cannot connect GCP MySQL Instance to Power BI

Hi all,

 

I am having difficult connecting my Google Cloud Platform MySQL instance to Power BI. 

I downloaded the mysql-connector-net-8.0.28 (latest version 8.0.33.1 was giving me errors). I have tried using the GCP instance name as well as the public IP (with and without the port) in the 'Server' field, double-checked the name of the database, and even changed my password but am still getting the error: "We couldn't authenticate with the credentials provided. Please try again."

I'm not sure what to try anymore because I know the username/password I entered is correct.error.PNG

3 REPLIES 3
amitchandak
Super User
Super User

@cdog , Make sure latest version of MySQL .net driver is installed

You can add ip whitelisting for your desktop

enabled user access outside local

 

Also check

https://community.fabric.microsoft.com/t5/Desktop/I-can-t-connect-MySQL-on-Google-Cloud-Platform-by-...

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

1. I have installed the MySQL .net driver 8.0.28 instead of the latest (8.0.33.1) because the latest version gave me the error "This connector requires one or more additional components to be installed before it can be used." I found a solution where using an older version would work and it did fix that issue.

2. I have already whitelisted my ip for my desktop. I am able to open MySQL on my desktop just not connecting it to Power BI. 

3. Can you elaborate on this point? Do I need to enable user access on gcp or somewhere else?

Question, how do on-premises data gateways play into all of this? I created a gateway and it is online and ready to be used, but when I try to add it to Power BI, I am unable to get past the authentication step.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.