Getting notAuthorized error with cloud_sql_proxy locally

前端 未结 6 2251
挽巷
挽巷 2021-02-13 20:34

I\'m trying to setup a connection locally for 2nd generation cloud sql instance.

Call for the proxy is

./cloud_sql_proxy -dir=/cloudsql -instances=status         


        
6条回答
  •  逝去的感伤
    2021-02-13 21:19

    Please double check the connection string. It sounds like your credentials are in order, so it's likely you have an error in the instance name.

    I recommend copying & pasting the "Instance connection name" from the Cloud Console page for the instance:

提交回复
热议问题