Google App Engine Symfony无法连接到GCP SQL

时间:2018-09-03 13:45:08

标签: postgresql symfony google-app-engine google-cloud-platform google-cloud-sql

我们部署的应用程序引擎Symfony应用程序无法连接到同一项目上的SQL gcp SQL postgres实例。错误是:

An exception occured in driver: SQLSTATE[08006] [7] could not connect 
to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

我已设置'unix_socket' => '/cloudsql/hireplicity:us-central1:$mydbinstance。我正在按照https://cloud.google.com/community/tutorials/run-symfony-on-appengine-flexible

中的步骤进行操作

0 个答案:

没有答案