Reputation: 361
This is the command I run in my shell: ./cloud_sql_proxy -instaces=[my_project_id:europe-west3:my_project_name]=tcp=5432
.
Sometimes i got the following errors messages:
CASE 1: flag provided but not defined: -instaces
;
CASE 2: 2021/11/19 17:50:12 errors parsing config:
mkdir my_project_id:europe-west3:my_project_name: The syntax of the file, directory, or volume name is incorrect.
mkdir my_project_id:europe-west3:my_project_name-copy: The syntax of the file, directory, or volume name is incorrect.
Upvotes: 5
Views: 2466
Reputation: 361
Solved by running ./cloud_sql_proxy -instances=my_project_id:europe-west3:my_project_name=tcp:5432
in my shell.
Upvotes: 4