Forum Discussion
Refresh fails with error - Cannot connect to the mashup data source.
- 7 years ago
Hi Anonymous,
Please refer the stpeps of this bolg.
https://paultebraak.wordpress.com/2015/12/08/mysql-import-issues-with-power-bi-and-oldguids/
Regards,
Frank
- Anonymous7 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!
Hi v-frfei-msft,
I am not sure how this is related. As I can see the imported data.
Anyhow, Can I modify the existing connection? And just enter the SQL statement?
I don't want to re-build the report(s) after creating the new datasource.
Renaming the DS does not matter, the report still points at the original one.
Cheers!
Then copy all the code from your new table into your existing table.