Thread: psql

psql

From
"Tudor Gabriel PETRESCU"
Date:
Hello,
My name is Tudor,
 
I tried to acces my data base with the command:
psql mydbname
and I get the following error message:
 
Connection to database 'mydbname' failed.
connectDB() -- socket() failed: errno=106
Addresses in the specified family cannot be used with this socket
 
What is the problem?
My data bases are in the folder pgqsl\data\dase?
 
Then, the commands createdb,createuser are not recognized as an internal or external command.
What is the problem?
Can you answer at my address since I am not in the list.
Thank you.

Re: psql

From
jdassen@cistron.nl (J.H.M. Dassen (Ray))
Date:
[Please do not use HTML for email]

Tudor Gabriel PETRESCU <tpetrescu@idsms.ca> wrote:
>I tried to acces my data base with the command:
>psql mydbname
>and I get the following error message:
>
>Connection to database 'mydbname' failed.
>connectDB() -- socket() failed: errno=3D106
>Addresses in the specified family cannot be used with this socket

There is a problem in the way the psql client tries to connect to the
database backend. Given that it's a socket-level problem (i.e. interaction
with the OS), you should provide details on the operating environment you're
running the client and the server in.

Ray
--
Windows 2001: "Oh my god, it is full of bugs"