Today
$ gcloud config configurations activate staging $ cloud-sql-proxy my-project:europe-west1:pg-staging \ --port 5432 --address 127.0.0.1 --gcloud-auth Authorizing with gcloud user credentials Listening on 127.0.0.1:5432 # the Mac goes to sleep connection refused # …and back up the history you go, looking for the command