Forum Discussion

smallfires0628's avatar
2 years ago
Solved

Data Refresh Failed: mysql doesn't support encrypted connections

Hi,   I've been trying to fix this problem for a while, and I can't seem to find where the issue is. I have a report connected to Alibaba Cloud's mysql, and everything works fine in PowerBI deskto...
  • smallfires0628's avatar
    smallfires0628
    1 year ago

    Yes I found a solution. I have to specify for it to be non-encrypted. I do it by downloading the MySQL ODBC driver to control encryption settings.
    I specified the connection string through Power Query itself. Here's the m-query code:
    connectionString = "Driver={MySQL ODBC 9.0 Unicode Driver};Server=rm-XXXXX;Database=...;User=...;Option=3;SslMode=DISABLED;",
    Source = Odbc.Query(connectionString, "SELECT * FROM table")