Closed rahbari closed 1 day ago
How did you config the mongo DB to not require a username and password but till be able to perform actions ?
In my testing I have been able to connect without them, but then any action (like listing databases) will fail cause the connection is not authenticated.
I just want to setup a test enviroment that matches yours to make sure I get it working without the login details properly.
I installed MongoDB v8 using brew, by default it does not have username or password. in compass these settings are optional, and it works.
Perfect.. Yes I saw they were optional, but I could not get a mongo install that set them as optional when I was trying in docker or via the various cloud providers.
Let me spin a brew install, make sure the extension works properly without the username (At the moment it connects, but I get the error about not authorized, figure that will change once I connect to the brew install) and then I will include the change in todays release and update this issue when it's released
Version 1.3.10 is out and fixes this
Can't create a MongoDB connection without username and password. My local server neither has nor needs a password.
Error: authMechanism DEFAULT not supported
VSCode Version: 1.94.2 Extension Version: 1.3.7 OS: darwin Arch: arm64