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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
AndreeaRadu
New Member

Error data refresh My SQL datasource

Hello,

 

I am trying to refresh data of a published report, data source is MySQL, I am using a gateway.

Connection between gateway and DB has been succesfully tested.

 

The error message is:

{"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"<ccon>We were unable to find a database provider with invariant name 'MySql.Data.MySqlClient'.</ccon>"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourceKind","detail":{"type":1,"value":"MySql"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourcePath",

{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.MissingClientLibrary"}}],"exceptionCulprit":1}}}

3 REPLIES 3
GilbertQ
Super User
Super User

Hi @AndreeaRadu 

 

From the error message it is saying that it cannot find the database provider on your gateway.


If you had to open up the PBIX file on the gateway server does it successfully refresh?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

When I created the connection, I had an error: 

Unable to create connection for the following reason: Unable to connect to the data source. Either the data source is inaccessible, a connection timeout occurred, or the data source credentials are invalid. Please verify the data source configuration and contact a data source administrator to troubleshoot this issue.
We were unable to find a database provider with invariant name 'MySql.Data.MySqlClient'.
 
But I finally managed to create the connection by ticking the <<Skip test connection box>>.
 
Can this be a connector- related issue?

@AndreeaRadu  do you have any certificates related to your server? 

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.