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
gursimranbedi
New Member

Power BI Gateway MySQL source doesn't support encrypted connections

Hi all,

 

I have searched extensively online about this issue and nothing resolved it for me, hoping somoene can please guide me.

 

So, currently I have a powerbi file which is connected to a MySQL database on an onprem server.

 

I am able to access it with the power BI desktop with the credentials.

I downloaded the gateway and it shows connection successful only if I select skip test connection 

gursimranbedi_1-1629332855064.png

 

 

If I uncheck the Skip Test connection and enter the credientials of the database which has full root rights, it gives me this error:

gursimranbedi_2-1629333049050.png

 

gursimranbedi_0-1629332810206.png

 

Please if someone could guide me on how to fix this I would immensely appreciate it! 

 

 

Thanks!!!

 

 

 

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Your gateway screenshot says "Not encrypted"  but the error message suggests a failed attempt at an encrypted connection. This doesn't add up.  Please clarify.

 

ALSO NOTE:  MySQL support on the gateway is BROKEN after version 66.8 (or thereabouts) and Microsoft and MySQL shift the blame to each other.

View solution in original post

Anonymous
Not applicable

Hi @gursimranbedi

 

I'm afraid that if the MySQL connection is down, there is no other way to use it with gateway properly.

The on-premises data gateway acts as a bridge to provide quick and secure data transfer between My SQL and Power BI.

By using a gateway, organizations can keep databases and other data sources on their on-premises networks, yet securely use that on-premises data in cloud services.

Users in your organization can access on-premises data to which they already have access authorization. But before those users can connect to your on-premises data source, an on-premises data gateway needs to be installed and configured.

vcaitlynmstf_0-1630026959258.png

 

A stored credential is used to connect from the gateway to on-premises data sources.

Regardless of the user, the gateway uses the stored credential to connect.

 

 

For more information, you can refer to this: On-premises data gateway architecture

 

Hope it helps,

 

 

Caitlyn Yan

 

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

4 REPLIES 4
Mohij
New Member

Please download updated Datagateway and install.

gursimranbedi
New Member

Hi,

 

I got it to work! For anyone else experiencing this - I just had to reboot my MySQL server machiene. Seems like a reeboot is nessecary for the MySQL Connector to get configured.

 

I'm using MySQL server 8.0.26 and it seems to be connected. I haven't tested the automatic data refresh yet.

But it shows connected.

 

Is there an alternative that I can use if MySQL connection is broken?

 

 

Thanks!

Anonymous
Not applicable

Hi @gursimranbedi

 

I'm afraid that if the MySQL connection is down, there is no other way to use it with gateway properly.

The on-premises data gateway acts as a bridge to provide quick and secure data transfer between My SQL and Power BI.

By using a gateway, organizations can keep databases and other data sources on their on-premises networks, yet securely use that on-premises data in cloud services.

Users in your organization can access on-premises data to which they already have access authorization. But before those users can connect to your on-premises data source, an on-premises data gateway needs to be installed and configured.

vcaitlynmstf_0-1630026959258.png

 

A stored credential is used to connect from the gateway to on-premises data sources.

Regardless of the user, the gateway uses the stored credential to connect.

 

 

For more information, you can refer to this: On-premises data gateway architecture

 

Hope it helps,

 

 

Caitlyn Yan

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

Your gateway screenshot says "Not encrypted"  but the error message suggests a failed attempt at an encrypted connection. This doesn't add up.  Please clarify.

 

ALSO NOTE:  MySQL support on the gateway is BROKEN after version 66.8 (or thereabouts) and Microsoft and MySQL shift the blame to each other.

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.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.