Forum Discussion
jnberger
8 years agoNew Member
Unknown database error when connecting to MongoDB with ODBC
Hi, I’m trying to build a report based on data stored on local MongoDB database, with the ODBC connector. But I’ve got the following error : DataSource.Error: ODBC: ERROR [HY000] [MySQL][ODB...
v-jiascu-msft
Microsoft Employee
8 years agoHi JN.,
We found the cause. We should add the Database explicitly. Please check it out.
Best Regards,
Dale
jnberger
8 years agoNew Member
Hi Dale,
Thanks for your great help !
I think that there's a bug somewhere because the database was actually selected in the query :
demo_Database = Source{[Name="demo",Kind="Database"]}[Data]
But your workaround is fine and it works for me.
Best regards.
JN.