Getting notAuthorized error with cloud_sql_proxy locally

前端 未结 6 2252
挽巷
挽巷 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条回答
  •  闹比i
    闹比i (楼主)
    2021-02-13 21:23

    There are many reasons for such error.

    following is solutions:

    1) Copy instance name from sql instance 'overview' tab.

    2) You may not have access of cloud sql client.

    here is more detail.

提交回复
热议问题