mongo db bi connector to Tableau

87 views
Skip to first unread message

Roshan John

unread,
Oct 3, 2018, 6:08:45 PM10/3/18
to mongodb-user

Tableau Desktop

 

Mongo DB installed on Red Hat Linux 7.4

 

Hi Team,

 

Grateful if you could assist in the configuration of BI connector with Mongo for connection with Tableau.

 

Launch BI Connector — MongoDB Connector for BI 2.6

 

[mongod@RHIS-BITEST-01 bin]$ mongodrdl --host 10.210.28.85 -d dbtest -c post -o dbtest_contacts.drdl --port 27020


where collection is 'post' and db name is 'dbtest'

Failed: error sampling collection: failed to execute aggregate: (Unauthorized) command aggregate requires authentication

 

Also note that I am able to connect externallly from Windows command prompt

 Please find attached.


Most grateful is you can help


Regards,


Roshan


mongo.png

Wan Bachtiar

unread,
Oct 16, 2018, 8:34:45 PM10/16/18
to mongodb-user

Failed: error sampling collection: failed to execute aggregate: (Unauthorized) command aggregate requires authentication

Hi Roshan,

Based on the error message, please make sure that the user has the permission to read the data in dbtest.post.

See also instructions:

Regards,
Wan.

Reply all
Reply to author
Forward
0 new messages