Thanks for your answer ,
I tried both two links and still having the same error ,
CommandFailureException: { "serverUsed" : "192.168.170.136:27017" , "ok" :
0.0 , "errmsg" : "not authorized on admin to execute command {
listDatabases: 1 }"
my mongodb storage config
{
"type": "mongo",
"connection":"mongodb://test:[email protected]:27017/",
"enabled": true
}
I am sure this test/test mongodb user can read and listDatabases ( tried it
in mongo shell ) .
Therefore , I still can't get it why drill just keep returning this error
message .
If it won't bother , can anyone share your experience with connecting
mongodb with security ?
What is the exact role the mongodb user is?