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.

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

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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