There is more than one way to connect to a Cloud SQL instance from your machine, but the two most frequently used options are in the following list. The listed prerequisites for both the options require the MySQL client libraries to be installed on the local machine:
- Adding the client machine IP address to authorized networks in Google Cloud Console
- Installing a proxy script on the client machine and using that to connect to Google Cloud SQL