Donald Le

“SCRAM_SHA-1” so how to fix it.

Photo by David Gavi on Unsplash
  • Before command
mongoexport --uri=mongodb://account:password@domain:port/db --collection collection_name --out output.json2021-11-20T17:04:01.983+0700 could not connect to server: connection() error occured during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.
  • After command and it works
mongoexport --uri=mongodb://account:password:port/db --collection collection_name --authenticationDatabase admin --out output.json…

--

--

Donald Le

Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.