Answer the question
In order to leave comments, you need to log in
Raise the database from a dump made on another machine?
Hello,
I ran into the following problem - when trying to raise a database dump on Linux, taken from another Windows machine,
using the command:
mongorestore --port <portnumber> --username admin --password <pass> --authenticationDatabase admin --db <DbName> <DbDumpDir>
error connecting to host: could not connect to server: connection() error occured during connection handshake: auth error: unable to authenticate using mechanism "SCRAM-SHA-256": (AuthenticationFailed) Authentication failed.
. {
"_id" : "admin.admin",
"user" : "admin",
"db" : "admin",
"roles" : [
{
"role" : "root",
"db" : "admin"
}
],
"mechanisms" : [
"SCRAM-SHA-1",
"SCRAM-SHA-256"
]
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question