vscode-postgres icon indicating copy to clipboard operation
vscode-postgres copied to clipboard

Unable to add connection with no password

Open Nnonexistent opened this issue 5 years ago • 3 comments

I'm trying to add a connection to a local postgresql server with no password (as local user).

On step 6/7 it failed with notification password authentication failed for user "..." and step 6/7 is still active. No connection is created.

Extension version 1.1.11

Nnonexistent avatar Oct 01 '19 04:10 Nnonexistent

I have this issue as well. Kinda makes the extensions useless in my case.

Olian04 avatar Nov 05 '19 11:11 Olian04

You can just use any password, e.g. password

bfelbo avatar Dec 02 '21 21:12 bfelbo

local connections used named pipes, not a tcp connection to localhost - which is what this uses. tcp connections require a password.

the underlying library doing the connection could possibly accept something other than a tcp connection - though would probably require a large change to the add wizard to support.

Borvik avatar Dec 03 '21 03:12 Borvik