I have a standard connection string that works fine on compass but does not work in the mongosql config file, as it keep producing “–mongo-uri may not contain any authentication information”.
My connection string looks like this mongodb://myusername:mypassword@:27017/?authMechanism=SCRAM-SHA-256&authSource=myusername.
I have tried authsource=admin as well, still does not work.