- 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
- Connect with the mysql client
- Example guide to connect to a database using DBeaver:
- Create a New Database Connection and select MySQL
- 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
- Test Connection and Finish
./cloud-sql-proxy --address 127.0.0.1 --port 3308 bluechew-develop:us-central1:bluechew2 --credentials-file=</path/to/json/key/file> &
Recommend using DBeaver
(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
Last updated: @February 17, 2026
