Replies: 3 comments
-
My guess is it's looking for a socket because you haven't specified a hostname. I'm not too familiar with Docker, but I don't think specifying Maybe try specifying |
Beta Was this translation helpful? Give feedback.
-
Thanks @quasipickle. I finally figured out the issue. For some reason the config array was loading as a string. |
Beta Was this translation helpful? Give feedback.
-
👋 It's something with the config's properties. Using
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using version 4.0, when I try to connect to the database I get thefollowing error
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"?
This is how I'm setting up the connection
The config looks like this
The database is running in another Docker container called
db
. It looks like Phalcon expects a local socket connection for some reason.Anyone know why it's looking for a local socket connection?
Beta Was this translation helpful? Give feedback.
All reactions