title: How to access Cloud SQL from Google Colab
body: <p>I have a Google Cloud SQL instance with a public IP, only accessible to whitelisted IP and through an SSL connection.</p>
  
  <p><strong>I'd like to know how I can connect to this database from Google Colab with Python.</strong></p>
  
  <p>If I try to connect like any external application, the connection is refused since the ip of the "client" is not whitelisted (and I can't whitelist it since I don't it and it's highly probable it's volatile)</p>
  
  <p>Is there a shortcut, like with Google App Engine to connect to the database using its instance and a google client?</p>
  
  <p>Thanks</p>