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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
SA2012
New Member

MySQL EncryptedConnectionFailed error when dataset size increases

See post from 2017 with same issue.

Data Gateway - MySql dataset refresh error - The M... - Microsoft Fabric Community

 

Using MySQL Connector Net 8.0.28 on Gateway and Desktop (latest version of connector does not connect to Localhost Mysql). 


MySQL sits in: Azure Database for MySQL servers

I have a dashboard which uses MySQL as the datasource. With a small dataset of 1000 rows, the dashboard refreshes successfully on Powerbi.com and from Desktop.

 

In the same dashboard, with the same dataset a test of 100k rows fails to refresh from Powerbi.com and from Desktop.

 

When the same MySQL source in the dashboard increases to 100k rows then receive the error:

Data source error{"error":{"code":"DM_GWPipeline_Gateway_InvalidConnectionCredentials","pbi.error":{"code":"DM_GWPipeline_Gateway_InvalidConnectionCredentials","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"The MySql source doesn't support encrypted connections. (Source at abc.azure.com;my_db.)"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourceKind","detail":{"type":1,"value":"MySql"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourcePath","detail":{"type":1,"value":"abc.azure.com;my_db"}},{"code":"Microsoft.Data.Mashup.CredentialError.Reason","detail":{"type":1,"value":"EncryptedConnectionFailed"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.DataSources","detail":{"type":1,"value":"[{\"kind\":\"MySql\",\"path\":\"abc.azure.com;my_db\"}]"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.Reason","detail":{"type":1,"value":"EncryptedConnectionFailed"}}],"exceptionCulprit":1}

Note occossionaly the dashboard will refresh with the larger dataset with no connection error.

0 REPLIES 0

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors