Reputation: 35
I recently got into developing with google cloud. Currently, I am working on connecting my app's backend to cloud SQL. I attempted to use the cloud SQL proxy to connect but I feel a bit confused with it.
When I run the command .\cloud_sql_proxy.exe -instances=INSTANCE_CONNECTION_NAME=tcp:5432
while replacing the connection name I get the error '.\cloud_sql_proxy.exe' is not recognized as an internal or external command, operable program or batch file.
I have named the file to just cloud_sql_proxy.exe. I also attempted to use just cloud_sql_proxy.exe
. But still to no effect.
Upvotes: -1
Views: 1490
Reputation: 81434
When you download the Cloud SQL Proxy for Windows 64-bit, the file is named cloud_sql_proxy_x64.exe
.
This first step is to copy the file to a location in your PATH or known directory and rename the file cloud_sql_proxy.exe
.
Download and install the Cloud SQL Auth proxy for Windows
Upvotes: 1