dbTalk Databases Forums  

problem with psql

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss problem with psql in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
alexandre ricciardi
 
Posts: n/a

Default problem with psql - 04-04-2004 , 09:32 AM






Hi all,

when i try to connect to the database with psql i get the following message :
postgres@1[postgres]$ psql installation
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
although when using jdbc it works nice

What's the problem ?
And please excuse my stupid questions

Thank's

Alexandre


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match


Reply With Quote
  #2  
Old   
joseph speigle
 
Posts: n/a

Default Re: problem with psql - 04-04-2004 , 10:31 AM






hi,
On Sun, Apr 04, 2004 at 04:32:42PM +0200, alexandre ricciardi wrote:
Quote:
when i try to connect to the database with psql i get the following message :
postgres@1[postgres]$ psql installation
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
although when using jdbc it works nice

Taking a shot at this but there's something I don't get, why not copy the settings for the jdbc connector and use then do psql --help and correlate the two? Usually, the fact that it can't find the socket means the server isn't started, but because you can connect using the jdbc, maybe it's on another machine. That, too, is a flag to psql when you fire it up.

HTH
joe
--
speigle
www.sirfsup.com

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.