Friday, February 21, 2020

[google-cloud-sql-discuss] Re: How to load csv data in Cloud SQL(Postgress) table automatically from compute engine

Hello Srikanta, 

You can't load the CSV file directly from your Compute Engine instance, you'll have to upload the CSV file to a bucket in Cloud Storage first. Relevant steps are listed in the "Importing the CSV file" sub-chapter of the "Importing data into Cloud SQL" documentation page. To automate this procedure, you may consider writing an appropriate script. 

This discussion group is oriented more towards general opinions, trends, and issues of general nature touching App Engine and Cloud SQL. For scripting and data import automation, you may be better served in dedicated forums such as stackoverflow, where experienced programmers are within reach and ready to help. 

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/4929ec37-c9bf-4236-86a8-6b5ba70d36c6%40googlegroups.com.

No comments:

Post a Comment