Questions tagged [google-cloud-sql]

Google Cloud SQL is a service that allows you to create, configure, and use relational databases that live in Google's cloud. It is a fully-managed service that maintains, manages, and administers your databases, allowing you to focus on your applications and services.

Google Cloud SQL is a service that allows you to create, configure, and use relational databases that live in Google's cloud. It is a fully-managed service that maintains, manages, and administers your databases, allowing you to focus on your applications and services.

Intro and features

Developer documentation

FAQ

3725 questions
1
vote
1 answer

Connecting Spring Boot app to MySQL db in Google Cloud

I'm trying to deploy a Spring Boot Maven app using jdbc with a MySQL database to a flexible Google App Engine project with a 2nd generation db. All functions as expected when both app and db are run locally (spring-boot:run & XAMPP). All still…
1
vote
0 answers

Issues connecting to Cloud SQL using cloudsql-proxy via Kubernetes

I have a cluster with 3 pods. In each pod I have 2 containers. app which is a front end Django project and cloudsql-proxy I have followed all of the guides and I can connect to the database via the cloudsql-proxy from my computer. However I have…
1
vote
0 answers

Why cant i insert from google cloud instance but can select from it

am using google cloud sql instance for my application db, when i try to insert records into it doesn't generate any error but the records are not inserted but when i use my local database everything works fine what could be the reason for this.. My…
1
vote
0 answers

How to connect php with CloudSQL

I tried to connect cloud-sql like below, but it doesn't work. Can anyone help me how to connect with Cloud sql using php ? I tried all stack-overflow answers but I can'f find the solution function connect() { $hostname = null; //Defaults to…
Curvegraph
  • 850
  • 1
  • 10
  • 17
1
vote
1 answer

Google Cloud SQL instance connection error

I set up GCP for App Maker and create instance and make a connection but there's an ERROR: Cannot create admin user in the default Google Cloud SQL instance. How to address this issue? TIA
1
vote
1 answer

Cloud-SQL-Storage Engine memory supported?

The GoogleCloudSQL FAQ states that For MySQL Second Generation instances, InnoDB is the only storage engine supported My experiment indicates that engine=memory is possible, at least for temporary tables. CREATE TEMPORARY TABLE mt (c CHAR(20))…
tback
  • 11,138
  • 7
  • 47
  • 71
1
vote
2 answers

How to create a Trigger in a google cloud sql instance Database

I'm with a problem during creationg of a trigger in my database. I've a MySQL Second Generation instance with a database (name: test) in my google cloud sql. Right now i have multiple tables in my database and im trying to create a trigger in one of…
JingleBells
  • 47
  • 1
  • 11
1
vote
1 answer

Can't preview the AppMaker

Since AppMaker has removed Drive Table, we have to use Cloud SQL instead. We managed to setup AppMaker with Cloud SQL and it seems to work just fine. However, I realized that I can’t preview the app, as I am getting this error: Any suggestions on…
alep
  • 135
  • 12
1
vote
1 answer

Creating authorization token for google cloud sql

I am writing an application to fetch query logs from google cloud sql using stack driver monitoring. I am able to retrieve the logs using API explorer. I will be using a curl call to download the logs. curl --header "Authorization: Bearer…
Sandy
  • 1,043
  • 2
  • 21
  • 32
1
vote
1 answer

Spring Boot with Google App Engine and MYSQL

I am using Spring Boot with Google App Engine and Google Cloud SQL, using MySQL.. Locally it's working fine, but after deploying to Google App Engine, the site is not loading. I checked Google's Error Reporting and I saw this exception. Please…
1
vote
1 answer

Sequelize-cli migration with non-standard unix sockets

I'm trying to get sequelize going on GAE. But am struggling with the cloud SQL proxy that uses sockets on non-standard paths. My understanding is that a url would get passed direct to the pg library, and based on this post, it would suggest the…
1
vote
1 answer

Cloud SQL marginally slower than localhost server

I have trouble understanding why Cloud SQL is marginally slower than my localhost MySQL server. I can accept that a little variation can occur from configuration to configuration but... In localhost it only takes 240 milliseconds to fulfill a query…
1
vote
0 answers

Erase disk temp tables from Mysql Google Cloud Sql

I had a stored procedure that was cycling, so it started to generate data into its temp table. I guess that as the table grew, mysql decided to use disk tables instead of memory ones. Now, the faulty process was stopped but the storage used for that…
1
vote
1 answer

CloudSQL connection issues with deployed Bookshelf tutorial app (App Engine/NodeJS)

I deployed my code on app engine with node js (flex environment). config.json { "GCLOUD_PROJECT": "XXXXXX", "DATA_BACKEND": "cloudsql", "MYSQL_USER": "XXXX", "MYSQL_PASSWORD": "XXXXX", "INSTANCE_CONNECTION_NAME":…
1
vote
1 answer

Unable to connect to postgres in cloud sql from google app engine nodes

I am working on a nodejs and postgres application. Both are deployed in google. I have my postgres in google cloud sql and nodejs is deployed in google app engine. I am trying to connect to postgres from nodejs, but it throws it cannot connect to…
1 2 3
99
100