Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Execute psql.exe from external tool

Hi all

With my team needs to migrate from SQL Server v2016 On Premises to PostgreSQL in Cloud SQL. The migration tool that we will use take the psql.exe to migrate schema and data to the target database.

Someone knows if psql.exe of Cloud SQL (PostgreSQL) can be executed from a external tool? 

Thanks in advance for your replies

Solved Solved
0 1 172
1 ACCEPTED SOLUTION

Yes, you can connect to CloudSQL using psql.exe but you need to configure
and run the SQL Auth Proxy on the client machine in order to have a secure
connection. Please see the following link for more information

https://cloud.google.com/sql/docs/postgres/connect-instance-auth-proxy

--


View solution in original post

1 REPLY 1

Yes, you can connect to CloudSQL using psql.exe but you need to configure
and run the SQL Auth Proxy on the client machine in order to have a secure
connection. Please see the following link for more information

https://cloud.google.com/sql/docs/postgres/connect-instance-auth-proxy

--