Meds.com
Meds.com
Set up Google Cloud SQL Proxy
Set up Google Cloud SQL Proxy

Set up Google Cloud SQL Proxy

  • Setup Google Cloud SQL Proxy 
  • Go to Google Cloud IAM to make sure your service account has Cloud SQL permission
  • Go to Google Cloud Service Account to create and download your key file (Click your service account email to enter your account detail, then under KEYS tab)
  • Download the Cloud SQL Auth Proxy based on your OS
  • Start the Cloud SQL Auth Proxy
  • ./cloud-sql-proxy --address 127.0.0.1 --port 3308 bluechew-develop:us-central1:bluechew2 --credentials-file=</path/to/json/key/file> &

  • Connect with the mysql client
    1. Recommend using DBeaver

    2. Example guide to connect to a database using DBeaver:
    3. (Note: you will need to have your key and user account (bluechew2 instance) set up in order to successfully connect. Details on how to setup your key is available in the next step: 2. Setup Backend Service)

      Download MySQL Community Server

    4. Create a New Database Connection and select MySQL
    5. Connection settings:
      • Server Host: 127.0.0.1
      • Port: 3308
      • Database: bluechew
      • Server Host: 127.0.0.1
      • Add User Account and create a Username and Password to use for Authentication section
    6. Test Connection and Finish

Last updated: @February 17, 2026