Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue connecting to Postgres with blank username/password #50

Closed
patrick-fitzgerald opened this issue May 7, 2020 · 5 comments · Fixed by #85
Closed

Issue connecting to Postgres with blank username/password #50

patrick-fitzgerald opened this issue May 7, 2020 · 5 comments · Fixed by #85
Labels
bug Something isn't working

Comments

@patrick-fitzgerald
Copy link

Hi,
I was just trying out Beekeeper Studio but I'm having an issue connecting to a PostgreSQL@11 database with a blank username/password.
I'm able to connect using Postico.
Screenshot: https://ibb.co/KNyYX6v
Thanks

@rathboma
Copy link
Collaborator

rathboma commented May 7, 2020

Interesting. Can you take a screenshot of the postico connection screen? Is it using a socket connection rather than a TCP connection maybe?

@chrisgaraffa
Copy link

Same with my local Postgres 10 and 11 instances, with no username.

red error text reads "no PostgreSQL user name specified in startup packet"

I'm able to connect with PSequel and of course from the command line.

@rathboma
Copy link
Collaborator

rathboma commented May 7, 2020

I think in reality it just uses your OS username. Do me a favor and just enter any old username in the username field and see if that works?

@rathboma rathboma added the bug Something isn't working label May 7, 2020
@rathboma rathboma added this to the V1.3 Bug fix bonanza milestone May 7, 2020
@chrisgaraffa
Copy link

Interesting! Adding random text into the username field didn't work, entering my macOS username (chris) worked. Thanks for the workaround!

@patrick-fitzgerald
Copy link
Author

patrick-fitzgerald commented May 7, 2020

Setting the PostgreSQL username to my macOS username worked 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants