Mongo DB: How to enable authentication only on single database

224 Views Asked by At

Assume, I have 3 databases AX,BX,CX

I want to enable authentication only on the DB CX.

My understanding is, we can enable authentication only on port (example-27017).

Can you pleas help me in setting up authentication only on CX DB

0

There are 0 best solutions below