Questions tagged [google-cloud-sql]
Google Cloud SQL is a service that allows you to create, configure, and use relational databases that operate from Google's Cloud Platform.
143
questions
0
votes
1
answer
53
views
How to connect from external machine to a SQL instance hosted on a shared VPC subnetwork
I have deployed a SQL instance on a shared VPC subnet to host a PostgreSQL database in GCP. Now I want to connect to this instance from a machine whose network is private and external to google cloud. ...
1
vote
1
answer
335
views
In GCP, how to connect to CloudSQL from another project?
I have three projects in Google Cloud Platform (GCP) under one organization: Project A, Project B, and Project C (central). Project C is using a GCP Cloud SQL component (MySQL), which is connected via ...
0
votes
0
answers
242
views
How to be sure to keep all the logs regarding a MySQL table data but filter Google Cloud SQL maintenance queries logs made by localhost GCP SQL?
I enabled the flag General_log for a Google Cloud SQL MySQL instance to get all the queries logs in Google Cloud Logging. I get all the queries users make, but also all the queries made to probe and ...
0
votes
1
answer
194
views
Connect to Google Cloud SQL on VPN
I'm new to Google Cloud, and I am currently writing a script to connect to a PostgreSQL instance hosted in Cloud SQL.
My script is very simple: it should connect to the Postgre instance and create a ...
0
votes
0
answers
107
views
Can we connect Google App-Script to Google Cloud SQL (MySQL) just only private ip enable?
I have a trouble about connect Google App script to Google Cloud SQL,
It worked fine when I enable public IP for cloud SQL instance, but when I disable public IP and just only enable private IP, It ...
0
votes
0
answers
254
views
Google Cloud SQL [PostgreSQL] Database storage is Increasing
I have a database instance (PostgreSQL v12.6) on Google Cloud and since 10 days ago, the Storage of Database is increasing rapidly.
Here's my Observations:
list of Dtabases
Dashboard of Disk Space
...
0
votes
0
answers
2k
views
ERROR: gcloud.run.deploy Revision is not ready and cannot serve traffic
I am new with GoogleCloud & GoogleCloudRun, I have deployed two applications at my Google active Project -
Next.JS app running at 3000 port
Express.js app running at 8080 port
When I tried to ...
0
votes
1
answer
231
views
Issues connecting Data Fusion to CloudSQL Postgres instance - getting a 403 "The client is not authorized to make this request"
I've got DataFusion and Cloud SQL Postgres up and running in a single GCP project.
I can connect to my postgres instance successfully using pgAdmin (as long as I add my IP address to the allowed ...
1
vote
0
answers
411
views
Unable to setup pglogical replication between 2 GCP CloudSQL instances
I'm currently trying to setup pglogical replication between 2 GCP CloudSQL Postgres instances, in order to quickly migrate data between regions.
I've following the GCP docs[1] by creating a replicator ...
0
votes
1
answer
1k
views
How do I configure SSL/TLS to connect to a Cloud SQL instance?
As far as I can see connection over SSL/TLS is always available with Cloud SQL. If I enforce it, it becomes required. But the maximum level of protection I was able reach is verify-ca from the ...
0
votes
1
answer
3k
views
Is password needed when connecting via Cloud SQL Auth Proxy?
It seems like it's needed, because it asks me for the password. But if so, then what's the point in having 2 credentials (a credentials file + password)?
If not, then what am I missing?
The docs is ...
0
votes
1
answer
815
views
How to connect to a GCP Cloud SQL Postgres server using client certs?
I'm attempting to authenticate with a cloud SQL instance using a client cert:
psql -h "$IP" "sslmode=verify-ca sslkey=certs/tls.key sslcert=certs/tls.crt sslrootcert=certs/ca.crt dbname=...
0
votes
1
answer
201
views
How to find usage (memory) of databases inside a Google CloudSQL instance?
I run multiple databases inside a single CloudSQL instance. My problem is that I cannot get monitoring insights at the individual database level. For example, if I want to know how much memory a ...
0
votes
1
answer
21
views
CloudSQL Programming Language Support
I was told by a third-party vendor that Python, JavaScript, and potentially other programming languages cannot be installed on CloudSQL. I am trying to verify if this is true, and if so, why is this ...
0
votes
1
answer
365
views
Connect to Cloud SQL from Google Cloud Functions
I have a few already deployed and running functions that use a custom VPC connector (projects/dc-****/locations/us-east1/connectors/serverless-vpc-dev-use), then I created a Cloud SQL from scratch ...