-
Notifications
You must be signed in to change notification settings - Fork 350
Connecting through psql not accepting unix socket #1071
Copy link
Copy link
Closed
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Metadata
Metadata
Assignees
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Question
Connecting through psql not accepting unix socket, but tcp accepts.
Did I miss something?
Additional Context
This is similar issue but I'm really sure I am not using wrong connection name.
I was also reading about this and this
Reproducing
sudo mkdir /cloudsql; sudo chmod 777 /cloudsql./cloud_sql_proxy -dir=/cloudsqlshows:PROJECT_ID:REGION:INSTANCE_NAMEto usepsql "sslmode=disable host=/cloudsql/PROJECT_ID:REGION:INSTANCE_NAME user=DB_USER"