Обсуждение:
Sir,
In createdb execution the following error has occured.
psql: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
createdb: database creation failed
We created a unix socket, then connection is accepted. But it is expecting
some parameters. What all are the parameters it is expecting while creating
db.
Expecting your reply
Remya
remyapl@cppdnotes.iobnet.co.in writes:
> psql: could not connect to server: Connection refused
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Are you sure the postmaster is running? I don't see how you could get
a "connection refused" on a Unix socket unless there is nothing
listening for connections.
regards, tom lane