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!
What do you mean refresh via the Power BI Desktop?
The gateway was installed this week, believe it is the latest one there is.
Anyhow, when I tried to update it, I got this error message below.
What should be done? I dont want to lose my configurations.
The version installed is 3000.0.265 (December 2018), is that the latest (and greatest?)
Thanks!
- GilbertQ7 years agoSuper UserHi there What I meant was if you manually refresh it via the Power BI Desktop file does it refresh. It does appear as if you have got the latest version of Power BI On-Premise Data Gateway. Can you confirm that the settings and testing the network connectivity works?
- Anonymous7 years agoNot applicable
Hi GilbertQ
Yes, connectivity is good.
Moreover, I have other datasources on the same server and they work fine. For example a MS SQL DB.
Seems like it is related to MySQL DB only and not other data sources.
Cheers!