If I use the Cloud SQL for MySQL client, hitting Ctrl + C directly exits the shell instead of doing nothing. This is annoying behavior since most developers are used to hitting Ctrl + C for exiting out of an unfinished/improperly typed query.
Steps to reproduce:
Use gcloud CLI to login to MySQL:
gcloud sql connect <name> --user=<username> --project <gcloud-project>
Select your database
Hit Ctrl + C
Observe that the client exits.
References: https://dba.stackexchange.com/a/132936