# Connect to Cloud SQL
- Install Cloud SQL Proxy to connext Cloud SQL in local
https://cloud.google.com/sql/docs/mysql/sql-proxy#install
- Create and download the key of Service Account [here](https://console.cloud.google.com/iam-admin/serviceaccounts/details/110042248654848123307/keys?authuser=0&project=oxo-backend)
- Execute Cloud SQL Proxy
```bash
./cloud_sql_proxy \
-instances=oxo-backend:asia-northeast1:oxo-dev=tcp:5432 \
-credential_file=<PATH_TO_KEY_FILE>
```
> Replace <PATH_TO_KEY_FILE> with your own key path
> Port 5432 is the port that you open in local that will forward the connection to Cloud SQL, so it could change to whatever you want.
- Download any GUI tool
- Add connection
