Hi Everyone,
We are trying to connect BI tool (QlikView) and MongoDB via connector for BI which we have downloaded from
www.mongodb.com.
So far:
1. We have installed the MongoDB connector for BI and created a new schema file:
mongodrdl /h <
myhostname.com> /u <user name> /p <password> /d <mydatabasename> /o Schema.drdl
2. Then we started the daemon:
mongosqld.exe /schema Schema.drdl /mongo-uri <
myhostname.com> /addr <IPaddress:3307>
2017-04-28T11:49:31.427+0300 I CONTROL [initandlisten] mongosqld version: v2.1.0
2017-04-28T11:49:31.428+0300 I CONTROL [initandlisten] git version: 518180ba2c547d2cc6071f955d98ec6de730c0c9
2017-04-28T11:49:31.428+0300 I CONTROL [initandlisten] arguments: --addr 1IPaddress:3307 --mongo-uri <
myhostname.com> --schema Schema.drdl
2017-04-28T11:49:31.429+0300 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for mongosqld.
2017-04-28T11:49:31.430+0300 I CONTROL [initandlisten]
2017-04-28T11:49:31.830+0300 I NETWORK [initandlisten] connecting to mongodb at <
myhostname.com>
2017-04-28T11:49:31.832+0300 I NETWORK [initandlisten] waiting for connections at IPaddress:3307
3. Then, our QlikView has been connected to the database and we tried to execute a query, but the following error message popped-up.
2017-04-28T11:50:21.091+0300 F NETWORK [conn2] dispatch error: not authorized on <mydatabasename> to execute command { aggregate: "Quiz", pipeline: [ { $group: { count(*): { $sum: 1 }, _id: {} } }, { $project: { count(*): "$count(*)" }
} ], cursor: {}, allowDiskUse: true }
Can you help us to identify, what we are doing wrong.
Thank you.