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.

Google Cloud SQL is a service that allows you to create, configure, and use relational databases that operate from Google's Cloud Platform.

130 questions
1
vote
1 answer

Google Cloud SSL server CA rotate

The Google Cloud Console is prompting us of impending expiry of the certificate on a Google Cloud SQL instance. We have multiple services which connect to this database instance: Compute Engine (via the Cloud SQL Proxy -…
1
vote
1 answer

Point in Time recovery for PostgreSQL running on google cloud

As titled, Google cloud supports point-in-time recovery for MySQL. GC also supports PostgreSQL. But does GC support Point in time recovery for PostgreSQL ? I can't see any documentation that it does - and it appears that one needs host OS console…
Richard Green
  • 91
  • 1
  • 1
  • 6
1
vote
1 answer

Start and Stop Cloud SQL via Java mysql admin-api

I'm not able to find a way to simply start and stop a Cloud SQL instance using java mysql admin-api. I found this official google documentation that explain how to start and stop the Cloud SQL instance via gcloud:…
1
vote
1 answer

Passwordless user for Google Cloud SQL (MySQL) using Cloud SQL Proxy?

The documentation About the Cloud SQL Proxy contains a line, “[B]ecause the proxy always connects from a hostname that cannot be accessed except by the proxy, you can create a user account that can be used only by the proxy. The advantage of doing…
yonran
  • 667
  • 2
  • 7
  • 20
1
vote
1 answer

Restore (PITR) of CloudSQL (MySQL) fails with Got a packet bigger than 'max_allowed_packet' bytes

When doing a PITR-Restore of a second generation Google CloudSQL instance, the restore fails with "Failed to Create" error. I cannot manipulate the instance clone, except reading logs and deleting it. The mysql.err log shows messages like E …
1
vote
2 answers

Can't restore Google Cloud SQL instance

I'm trying to restore my Google Cloud SQL instance to a backup from a previous date: gcloud sql backups restore 1504554300110 --restore-instance=[MY-DB-INSTANCE] Ultimately, it keeps giving an error: ERROR: (gcloud.sql.backups.restore) HTTPError…
1
vote
0 answers

Getting Google's Cloud SQL Proxy to Work

I'm following this example of how to get wordpress running on GKE connected to Google Cloud SQL via the Google Cloud SQL Proxy. But either the documentation, or the proxy itself, is deficient, or I am :-) Unfortunately, my Wordpress pod is failing…
1
vote
1 answer

Connect MySQL with Cloud Storage in GCP

I am designing a network infrastructure, I am really new to this, I already have the initial part of the infrastructure defined, but now I find a detail, I need to design a scheme for data storage, where for example have: • Instances with MySQL that…
1
vote
2 answers

Should I enable SSL on my MySQL database with Cloud SQL?

I was wondering if I should enable SSL with my Cloud SQL (Google Cloud Platform) instance. I communicate with the database via a Laravel (PHP) application and specified that the IP address of my server (hosted on DigitalOcean) only has access to the…
vblinden
  • 113
  • 4
1
vote
2 answers

GCP configure an external master issue

I'm following GCP tutorial to create a replica instance from an external master. The Cloud SQL API is enabled and I am using google shell from the console to run the commands. I have also tried from a compute engine instance using gcloud auth login…
1
vote
1 answer

Google Cloud SQL with Google app engine in PHP

Having trouble connecting Laravel 5.2 on Google Cloud. I created a new MySQL 5.6 second generation instance, and added the connection parameters in conf/database with the external ip of the instance, locally the laravel server is working fine. But,…
1
vote
1 answer

Cloud SQL External Access suddenly restricted

I have an Google Cloud Endpoint with an configured Cloud SQL - Database with an dedicated IPv4 for external access. It all worked fine until today, where suddenly the access was restricted from EVERY IP I allowed. Also "allow all" with 0.0.0.0/0 is…
myfknoll
  • 111
  • 4
1
vote
2 answers

Not able to use mysql in google app engine - Error loading MySQLdb module: No module named _mysql. I am using cloudSQL

I am using googleAppEngineLauncher to try mysql connection. It gives the log File "/Users/kakshilshah/Desktop/hope/skeduleBackend/django/utils/importlib.py", line 40, in import_module __import__(name) File…
1
vote
1 answer

Cloud SQL MySQL 8.0.26 Intermittent "Got timeout reading communication packets" error in App engine flex + Node.js app

We're running node.js servers on App engine flexible that are connecting to mysql using a shared private network. (app engine instances are deployed into the same vpc subnetwork that mysql lives in). So on app engine side in app.yaml: network: …
1
vote
2 answers

Google Cloud - Hipaa Compliance - PgAudit vs IAM Audit Logs

Our infrastructure is hosted on Google Cloud and uses postgresql instances via Cloud SQL I need to configure logging for HIPAA compliance. I have read 2 articles from Google's…
1 2
3
8 9