DEV Community

Mian's Thoughts🇵🇰
Mian's Thoughts🇵🇰

Posted on

could not connect to server: No such file or directory. PostgreSQL--> CloudSQL connection Error on Google App Engine

Is the server running locally and accepting connections on Unix domain socket "/cloudsql/connection-name/.s.PGSQL.5431" Whenever i deploy and login for superuser, i recieve this error. My app.yaml:

runtime: python
env: flex
entrypoint: gunicorn -b :$PORT core.wsgi

automatic_scaling:
  min_num_instances: 1
  max_num_instances: 8
  cool_down_period_sec: 180
  cpu_utilization:
    target_utilization: 0.5
  target_concurrent_requests: 100

beta_settings:
  cloud_sql_instances: <connection-name>

Top comments (0)