Hi Brandon,

All should be fine if your *app.yaml* file has the correct credentials.
Something like

  *DB_CONNECTION*: mysql
  *DB_HOST*: localhost
  *DB_DATABASE*: xxxxxxxxxx
  *DB_USERNAME*: xxxxxxx
  *DB_PASSWORD*: xxxxxxxx
  *DB_SOCKET*: /cloudsql/<project-id>:<region-here>:<db-instance-name>

And have this also in your app.yaml

*beta_settings:*
  # for Cloud SQL, set this value to the Cloud SQL connection name,
  *cloud_sql_instances*: <project-id>:<region-here>:<db-instance-name>

Give these a try and let me know if the error persist. Also ensure you have
the instance up and running.

Cheers,
Mua


On Tue, Jan 28, 2020 at 4:02 PM Brandon Zukowski <[email protected]>
wrote:

> Hi there, we are trying to open a connection to our CloudSQL instance and
> perform queries using App engine and PHP 7.2, but we keep getting a "get
> address not found" error. Any help would be appreciated!
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/7361d228-e5b5-46e8-ad93-4fe29da02c96%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/7361d228-e5b5-46e8-ad93-4fe29da02c96%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

*MUA N. LAURENT*: Software Engineer
Akivas Inc. <https://akivas.com/>
Akwa, Douala,CM 00237 | 174 Royal Rd, Cape Town, WC 7405, SA
Phone: (237) 670-518-086

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAHAhu-jd1Z2zqs7XJ6qMh6Cx_Dt3dbYMqR0JaT7Y0yb2Jm55Kg%40mail.gmail.com.

Reply via email to