Hello Søren,

The recommended way to pass the environment variables for database 
connection is: 

env_variables:
    # Replace USER, PASSWORD, DATABASE, and CONNECTION_NAME with the
    # values obtained when configuring your Cloud SQL instance.
    MYSQL_USER: USER
    MYSQL_PASSWORD: PASSWORD
    MYSQL_DSN: mysql:dbname=DATABASE;unix_socket=/cloudsql/CONNECTION_NAME

You can check this in more detail on the "Using Cloud SQL for MySQL" 
documentation page 
<https://cloud.google.com/appengine/docs/flexible/php/using-cloud-sql>, 
sub-chapter: "Setting connection strings and adding a library". 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fe30e1d9-c89f-4ee4-82c4-0afe4dcb20e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Søren Malling
    • [google-appen... 'George (Cloud Platform Support)' via Google App Engine
      • [google-a... Søren Malling
        • [goog... Søren Malling
          • [... Søren Malling
            • ... 'George (Cloud Platform Support)' via Google App Engine
              • ... Søren Malling
                • ... 'Takashi Matsuo (Google)' via Google App Engine
                • ... Søren Malling
                • ... 'Takashi Matsuo' via Google App Engine
                • ... Søren Malling
                • ... Søren Malling

Reply via email to