PowerBI Service connection fails to Azure Database for MySQL flexible server

Peter Yacoub 0 Reputation points
2024-04-13T14:44:34.5566667+00:00

Hello,

I created a semantic model connected to my Azure Database for MySQL flexible server. It refreshes successfully from powerbi desktop, but once the dashboard is published, it does not refresh anymore. The error I am getting is:

[ValidateMarkupTags][ccon]DataSource.MissingClientLibrary: We were unable to find a database provider with invariant name 'MySql.Data.MySqlClient'.. DataSourceKind = [ccon]MySql[/ccon]. DataSourcePath = [ccon]xxxxxx.mysql.database.azure.com;xxxxxx[/ccon]. [/ccon];[ccon]We were unable to find a database provider with invariant name 'MySql.Data.MySqlClient'.[/ccon]. The exception was raised by the IDbCommand interface. Table: xxxxxx

Any clue what might be wrong?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
842 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GeethaThatipatri-MSFT 29,477 Reputation points Microsoft Employee
    2024-04-15T15:06:47.6+00:00

    @Peter Yacoub The refresh fails in PowerBI online is since direct query connector for Azure DB for MySQL is not available. you can vote for this connector in Power BI ideas forum.

    please refer below. 

    https://community.fabric.microsoft.com/t5/Power-Query/Direct-Query-MySQL/td-p/836286

    Regards

    Geetha

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.