title: Using Google CloudSQL, getting "connect ECONNREFUSED 127.0.0.1:3306"
body: <p>I'm trying my best to learn Google's Cloud Platform. They have a CloudSQL offering, which I'm learning via <a href="https://cloud.google.com/nodejs/getting-started/using-cloud-sql" rel="noreferrer">this NodeJS tutorial</a>. Everything worked great until I deployed to their <a href="https://bookshelf-155321.appspot-preview.com/books" rel="noreferrer">appspot server</a>, at which point I got the following error:</p>
  
  <pre><code>connect ECONNREFUSED 127.0.0.1:3306
  </code></pre>
  
  <p>I've looked all through the NodeJS project and don't see anything in it or the Cloud Console that is referencing localhost or 127.0.0.1. Googling the error hasn't helped thus far. Any ideas? </p>