mongoexport show unable to authenticate using mechanism

“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.json