title: How to connect cloud function to cloudsql
body: <p>How I can connect cloud function to cloudsql.</p>
  
  <pre><code>import psycopg2
  def hello_gcs(event, context):
  
      print("Imported")
      conn = psycopg2.connect("dbname='db_bio' user='postgres' host='XXXX' password='aox199'")
      print("Connected")   
      file = event
      print(f"Processing file: {file['name']}.")
  </code></pre>
  
  <p>Could not connect to cloud sql's postgres version, please help.</p>