I did not provide a username and password with my mongodb directConnection connection string. the connection was established and I did not get any error message immediately. I got an error message in following when I tried to execute an action which requires authentication.
when I don’t provide a username and password with a postgres connection string the connection is not even established. the only thing I get is an error message immediately.
why is it possible to establish a connection / login to mongodb even if I provide no username and password and authentication is enabled in mongodb?