-
Notifications
You must be signed in to change notification settings - Fork 352
Add support for Unix sockets on Windows #84
Copy link
Copy link
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
On Windows 10 I have
gcloudsetup and working. I downloaded the binary and without any arguments (perUsing automatic instance discovery with gcloud credentials) I saw:I guess this is to be expected as Windows does not support
:in directory names, but perhaps by default the character should be-or changed for Windows specifically.After changing the separator in code to
-it worked but then I hit:And in code it specifically checks if OS is Windows and removes
unixfrom supported list. I wonder if this could be defaulttcpon Windows?In the end I got things to work with this:
.\cloud_sql_proxy.exe -instances=myproject-12345:us-central1:test=tcp:5433.