No title

Started by Nonameabout 23 years ago2 messagesbugs
Jump to latest
#1Noname
remyapl@cppdnotes.iobnet.co.in

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Noname (#1)
Re:

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