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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
jfrench_1941
New Member

Connecting to MYSQL as a service in Azure -Getting following Error

We have a report that is using multiple data sources.   One source is MSSQL 2014  sitting on a vm in azure which has the Power BI Gateway installed on it and is working fine.  Our second data source is MYSQL as a service in azure.  We are looking to set this report up on a refresh schedule but are getting the following error.  I am able to connect to all data sources and refresh the report from my desktop.  Once we try and publish it we are getting the following error. 

 

 

Unable to connect: We encountered an error while trying to connect to . Details: "We could not register this data source for any gateway instances within this cluster. Please find more details below about specific errors for each gateway instance."Hide details

Activity ID:98d4b3a3-0072-443f-aa0b-bdd7fa1d95c4
Request ID:74d35165-d774-201e-637b-a10ada10217e
Cluster URI:https://wabi-west-us-redirect.analysis.windows.net/
Status code:400
Error Code:DMTS_PublishDatasourceToClusterErrorCode
Time:Tue Aug 18 2020 13:52:30 GMT-0700 (Pacific Daylight Time)
Service version:13.0.14114.59
Client version:2008.2.02376-train
V12Reports:Unable to connect to the data source undefined.
Underlying error code:-2147467259
Underlying error message:MySQL: We were unable to find a database provider with invariant name 'MySql.Data.MySqlClient'. This error could've been the result of provider-specific client software being required, but missing on this computer. To download client software for this provider, visit the following site and choose the 64-bit (x64) version of, at minimum, 'MySQL Connector/Net': https://go.microsoft.com/fwlink/?LinkId=278885
DM_ErrorDetailNameCode_UnderlyingHResult:-2147467259
Microsoft.Data.Mashup.ValueError.ClientLibraryName:MySQL Connector/Net
Microsoft.Data.Mashup.ValueError.DataSourceKind:MySql
Microsoft.Data.Mashup.ValueError.DataSourcePath:xxx-customapp-xxxxx.mysql.database.azure.com;selection_prod
Microsoft.Data.Mashup.ValueError.download link:https://go.microsoft.com/fwlink/?LinkId=278885
Microsoft.Data.Mashup.ValueError.Reason:DataSource.MissingClientLibrary

 

How do we refresh an MYSQL dataset that lives on SAAS?  You cannot install the gateway.  Is there a different kind of data connector needed.  Thanks for your assistance in advance. 

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @jfrench_1941 ,

Whether your problem has been resolved? Is there anything else we can help about this thread?

Best Regards

Rena

Anonymous
Not applicable

Hi @jfrench_1941 ,

Please review the solution in the following threads and check if they can help you resolve the problem.

Power BI Desktop - Unable to Connect to my local MySQL dbase (The correct connector download link should be here)

Error when creating MySQL data source in Power BI Gateway

Unable to download Connector/Net 6.9.9 for 64-bit Windows

Best Regards

Rena

lbendlin
Super User
Super User

On the gateway install the MySQL /Net driver.  The Community package only offers the x86 installer but it actually contains drivers for both x86 and x64.

 

Kinda funny - you would think that with the Azure location no gateway would be required...

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors