Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Refresh fails with error - Cannot connect to the mashup data source.

Hey All, Getting the following error when (auto) refresh is triggered: Last refresh failed: Wed Jan 09 2019 06:15:24 GMT+1100 (AUS Eastern Daylight Time) Cannot connect to the mashup data source. ...
  • Anonymous's avatar
    Anonymous
    7 years ago

    Hey,

    Wanted to update and summarize the issue.

     

    Issue - In general there are issues with connections to MySQL DBs from Power BI. The symptom in my case was that data refresh did not work and failed with the error message in my first/original post.

     

    Solution - Creat a connection string to MySQL DB with the query in it. For example: 

    = MySQL.Database("localhost:3306", "DB_Name", [ReturnSingleDatabase=true, OldGuids=true, Query="select * from MyTable where MyCondition"])

    There is no need to delete or re-create the original connection string. Just to update it.

     

    Thank you GilbertQ and v-frfei-msft for your assistance.

     

    Cheers!