Created
October 23, 2017 15:48
-
-
Save binki/b8e1fa4c18ce2b9aa031297fcbafca9f to your computer and use it in GitHub Desktop.
mongo error when passing connection URL to connect()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sam ~ # mongo --nodb ~/.mongo-do-auth.js ~/s2.js | |
MongoDB shell version: 2.6.12 | |
loading file: /root/.mongo-do-auth.js | |
2017-10-23T15:47:53.636+0000 Error: Invalid port number "asdf123@localhost" in connection string "mongodb://root:asdf123@localhost/admin" at src/mongo/shell/mongo.js:135 | |
failed to load: /root/.mongo-do-auth.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tambien buscada una respuesta con esto