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!
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!
- GilbertQ7 years agoSuper User
Thanks for letting us know, will certainly assist others if they run into this issue.