The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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. See error details for more information.Hide details
Underlying error code: -2147467259 Table: DB bla_bla.
Underlying error message: Data on the server had an unexpected format. It might be possible to fix this by setting the 'OldGuids' option to true.
DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259
Microsoft.Data.Mashup.ValueError.Reason: DataFormat.Error
Cluster URI: WABI-AUSTRALIA-SOUTHEAST-redirect.analysis.windows.net
Activity ID: a22f803c-1acb-4912-8fc4-d9c2ca083d92
Request ID: 394a2ced-e806-4317-8a75-e6eaeaa1ed80
Time: 2019-01-08 19:15:24Z
The suggested solution is already in place. "It might be possible to fix this by setting the 'OldGuids' option to true."
This is my query string:
= MySQL.Database("localhost:####", "DB", [ReturnSingleDatabase=true, OldGuids=true])
Any idea of the root cause and how to fix this?
Thanks!
A
Solved! Go to Solution.
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
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!
Thanks for letting us know, will certainly assist others if they run into this issue.
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
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!
Thanks!
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!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
50 | |
20 | |
12 | |
11 | |
11 |
User | Count |
---|---|
118 | |
31 | |
28 | |
21 | |
20 |