5

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.
    
Enrico
  • 361
  • 1
  • 11
  • 5
    You have typo. You should run `./cloud_sql_proxy -instances=my_project_id:europe-west3:my_project_name=tcp:5432` – Hitobat Nov 19 '21 at 18:11
  • thank you. I am still studying how Google Cloud works, if you post your comment I will accept the answer – Enrico Nov 19 '21 at 22:10

1 Answers1

4

Solved by running ./cloud_sql_proxy -instances=my_project_id:europe-west3:my_project_name=tcp:5432 in my shell.

Enrico
  • 361
  • 1
  • 11