2

I am trying to connect cloud sql with pgadmin but it throws error when I try to execute query.

"Could not send Data to server, socket is not connected, could not sent SSL negotiation pocket"

But When I connect with different Database tool like DBViz / Psql, I can execute the query - no such error in other tools. I am kind of lost in the error, could you please help me to resolve this.

1
  • 2
    Try using 127.0.0.1 instead of localhost under Connection Host.
    – Subash
    Jan 27, 2020 at 7:59

1 Answer 1

3

Subash's answer worked for me. Switching from localhost to 127.0.0.1 allowed the connection successfully.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.