Connecting to multiple CloudSQL instances using Cloud sql proxy? : <p>I'm attempting to use the cloud sql proxy to connect to 2 different cloud sql instances...</p>

<p>In the docs I found a line about <code>Use -instances parameter. For multiple instances, use a comma-separated list.</code> but not sure how to make that look. <a href="https://cloud.google.com/sql/docs/sql-proxy" rel="noreferrer">https://cloud.google.com/sql/docs/sql-proxy</a>. I'm using Google Container engine, and with a single CloudSQL instance it works great:</p>

<pre><code>- name: cloudsql-proxy
  image: b.gcr.io/cloudsql-docker/gce-proxy:1.05
  command: ["/cloud_sql_proxy", "--dir=/cloudsql",
            "-instances=starchup-147119:us-central1:first-db=tcp:3306",
            "-credential_file=/secrets/cloudsql/credentials.json"]
  volumeMounts:
  - name: cloudsql-oauth-credentials
    mountPath: /secrets/cloudsql
    readOnly: true
  - name: ssl-certs
    mountPath: /etc/ssl/certs
</code></pre>

<p>But for multiple I've tried the <code>-instances</code> section as such:</p>

<pre><code>-instances=starchup-147119:us-central1:first-db,starchup-147119:us-central1:second-db=tcp:3306  
and  
-instances=starchup-147119:us-central1:first-db=tcp:3306,starchup-147119:us-central1:second-db=tcp:3306
</code></pre>

<p>but they all give various errors; <code>ECONNREFUSED 127.0.0.1:3306</code>, <code>ER_DBACCESS_DENIED_ERROR</code>, and <code>ER_ACCESS_DENIED_ERROR</code></p>

<p>Any help is much appreciated!</p>
