Me too. I use this command tin the terminal mongorestore --drop --gzip --uri "mongodb+srv://cluster0-5pf8u.mongodb.net/ etc " data also this
WARNING: shell and server versions do not match
Error while trying to show server startup warnings: user is not allowed to doaction [getLog] on [admin.]
I am also getting same error .
Though I was able to login by following ::
mongo “mongodb+srv://sandbox-8mcrk.mongodb.net/test” --ssl
–sslAllowInvalidCertificates --username m001-student
Still Mongodb documents states it as not safe option for poduction.
Please suggest if anyone able to resolve the same.
Yeah, don’t do that. You’re allowing the shell to connect to a server that could be impersonating the actual server. Do not disable certificate verification unless you are absolutely certain that the server can be trusted (for example, because you built it yourself)