mongoexport show unable to authenticate using mechanism

“SCRAM_SHA-1” so how to fix it.

Photo by David Gavi on Unsplash
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…