CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 04:30:08 GMT
content-type: text/html; charset=utf-8
cf-ray: 960f3df21e1c8a2a-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=5af0b648-40e1-4537-a88e-2aa6a229f8b9; expires=Sat, 18 Jul 2026 04:30:07 GMT; domain=.stackoverflow.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
feature-policy: microphone 'none'; speaker 'none'
x-frame-options: SAMEORIGIN
x-request-guid: 7c018540-46ff-4b0d-8ad0-8701ce150442
x-worker-origin-response-time: 395000000
x-dns-prefetch-control: off
set-cookie: __cflb=02DiuFA7zZL3enAQJD3AX8ZzvyzLcaG7vews8mGoeb4eQ; SameSite=Lax; path=/; expires=Sat, 19-Jul-25 03:30:08 GMT; HttpOnly
set-cookie: prov=5af0b648-40e1-4537-a88e-2aa6a229f8b9; Path=/; HttpOnly; Domain=stackoverflow.com
set-cookie: __cf_bm=uuqkiVVGZX.LjjnjhZ9wXrVPqDm4r0WHymYMuYrDMuQ-1752813008-1.0.1.1-04wk3aKASl_WfIhjupsVEeKbJi39TqfvHo..kuH2zYoeFsDXjCtbaQMZZXQz65S87MtrLLrmFhYWXdQf1lWq5cpJjkdVWf2FXzFfZiMDwR8; path=/; expires=Fri, 18-Jul-25 05:00:08 GMT; domain=.stackoverflow.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=OCa1BzGj837NsY7fptTt_kCI3yCaJ0VJ_NTITTg7CGM-1752813008117-0.0.1.1-604800000; path=/; domain=.stackoverflow.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'google-cloud-sql' Questions - Stack Overflow
Skip to main content
Stack Overflow
- Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers
- Advertising Reach devs & technologists worldwide about your product, service or employer brand
- Knowledge Solutions Data licensing offering for businesses to build and improve AI tools and models
- Labs The future of collective knowledge sharing
- About the company Visit the blog
Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
3,877 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
29
views
cloud_sql_proxy giving auth: "invalid_grant" "Bad Request" though user has all permissions - how to debug?
a coworker has a problem with cloud_sql_proxy in GCP. We have a very simple setup, connections are done with the Google account, not service accounts, no IP restrictions or any other specialities.
For ...
-2
votes
0
answers
43
views
How should I manage database connections from an API deployed to Cloud Run? [closed]
Introduction
My company recently started load testing an application that it's preparing to launch, and I've been tasked with resolving some scalability issues. Specifically, our API very quickly ...
0
votes
0
answers
24
views
Can't update mysql users authentication plugin in Google Cloud SQL because root does not have SYSTEM_USER permission [migrated]
I'm working on upgrading my Google Cloud SQL mysql instance from 8.0 to 8.4. I just upgraded it from 5.7 to 8.0 and now I'm trying to convert my user authentication plugins for my existing users from ...
0
votes
1
answer
112
views
Issues with Datastream (maybe related to pSQL 17.5)
Okay, so I had this all working. PSQL -> Datastream -> BigQuery. It's all in Terraform, so presumably repeatable.
I deleted the database, and restored from a backup, and now Datastream refuses ...
1
vote
2
answers
50
views
How do I create Cloud SQL connection in apphosting.yaml?
The documentation for configuring cloud run with cloud SQL (https://cloud.google.com/sql/docs/mysql/connect-run#configure) shows how to add the connection for a new rollout using the UI, but when you ...
1
vote
0
answers
56
views
Postgres (Cloudsql) shows lock wait on write transactions during an index creation (on unrelated table)
I am using Postgresql on CloudSQL (GCP), in version 15.
(Running on 4vCPU, 16Gb RAM, with SSD disk)
We are observing an unexpected issue during index creation.
While creating an index on a large-ish ...
1
vote
1
answer
136
views
Can't connect to PostgreSQL, from Google Cloud Run to Google Cloud SQL
Sup?
I want to connect to my PostgreSQL database on Cloud SQL from Cloud Run, and whatever I do, I get errors. The most annoying one is the "connection refused" error. I have tried anything ...
1
vote
1
answer
236
views
Why I get connection timeout to Cloud SQL in GCP Cloud Functions Gen 2 randomly on some requests?
I have several Google Cloud Functions (Gen 2) functions that access a PostgreSQL database hosted in Cloud SQL, using node-postgres (pg).
These functions can be called multiple times by the same ...
0
votes
1
answer
58
views
How to prevent deletions from source (GCP CloudSQL MySQL) reflecting in GCP BigQuery using Datastream?
Description:
We are currently using Google Cloud Datastream to replicate data from a CloudSQL (MySQL) instance into BigQuery in near real-time. The replication works perfectly for insert and update ...
0
votes
1
answer
158
views
Error: googleapi: Error 404: The Cloud SQL instance does not exist., instanceDoesNotExist
Planning to create the Postgres Instance using the Backstage, Terraform via pre-defined templates.
While running the Terraform plan, stuck with the below error:
Error: googleapi\*\*: Error 404: The ...
0
votes
1
answer
79
views
When the Cloudsql restarted, all the Cloudrun service stops working
When the Cloudsql restarted, all the Cloudrun services linked to the Cloudsql(Database version is MySQL 8.4.4) stops working. with below error
Fatal error: Uncaught mysqli_sql_exception: Access denied ...
0
votes
2
answers
108
views
Support to node crypto module is required - gcloud sql connector
Any idea on what can cause the following issue? We're trying to migrate to the official Cloud SQL Node.js Connector but for some reason I'm getting the following issue when running a test connection ...
0
votes
1
answer
69
views
Is checkForServerUpgrade available in mySQL 5.7?
Specifically, is checkForServerUpgrade() available in google cloud's sql for mySQL? When I log into the cloud shell, connect to the db, and run the command, I get this.
I'm trying to update a db ...
1
vote
1
answer
58
views
MySQL, go-sql-driver with google auth token
I am looking to connect to a gcp managed db (running on GCP) via a cloud proxy (jump box with local port to connect to managed instance) with go-sql-driver but everything I've tried gcp MySQL instance ...
0
votes
1
answer
146
views
IAM roles tables permissions for cloud sql
I am trying to understand how to set up the postgres permissions such that my database tables can be read and edited by both a service account and other database users. This has proved impossible. [1]
...
This tag is in a collective: a subcommunity defined by tags with relevant content and experts.
- The Overflow Blog
-
-
- Featured on Meta
-
-
-
Related Tags
google-cloud-platform × 1426
google-app-engine × 918
mysql × 825
postgresql × 517
python × 235
java × 217
cloud-sql-proxy × 199
php × 165
google-cloud-run × 151
node.js × 140
google-compute-engine × 140
sql × 134
google-cloud-storage × 125
google-cloud-functions × 119
google-bigquery × 112
django × 107
gcloud × 103
jdbc × 81
sql-server × 70
kubernetes × 69
spring-boot × 67
sqlalchemy × 65
google-apps-script × 60
go × 54
more related tags
Hot Network Questions
- How to Stabilize Wash Crossing on Private Road
- As the only backend developer, how should I handle repeated challenges from my manager about core technical decisions?
- 腰砕け for "chicken out"?
- What are infinite aperiodic p-adic integers equivalent to?
- Definite integral with the Lambert W Function
- even if trump admits to messing up and taking off tariffs, and trump goes back to a rational global approach to economics, why still deep recession?
- Why does positive mean descriptive
- Which version of Wind in the Willows did I see in the 1990s?
- Is it feasible that cars would be made with a central driving position?
- Sci-fi virtual reality movie about a man who has a device that allows him to enter memories and experience them as if he were there
- How would double jeopardy apply in the P. Diddy case?
- Is "3.5e" the official name/nomenclature for the edition?
- Who are the armed militants in conflict with the Druze in Syria's Sweida?
- Story about repeating decimal digits of pi
- Question about voices in Satie’s Gymnopédie No. 1
- What fair use provisions are covered by the constitution in the US?
- Extracting features from PBF using ogr2ogr filtered by other_tags
- Exclusion of a coauthor from an already finished paper
- Is it heresy for a Christian to believe a false idea (like a flat or round earth) before the truth is revealed or verified?
- What is the strength of the reals being a countable union of countable sets?
- Why didn't Germany request the extradition of Eichmann from Israel?
- A word or phrase for denying that a group exists as a political tool?
- How is `SELECT` for MS-DOS 3.30 supposed to be used on 360KB floppy systems?
- Pathfinder 2e Profane Bargain