I've installed postgresql 8.3 manually on ubuntu 10.10, using ./configure, make and make install.
It works perfect but when I try to connect it using psql I need to type following cmd,
psql --port --host localhost
, my question is, Is there a way that I can omit --host=localhost
paramter ??
Error Details when passing only port and not passing --host
parameter
psql: 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.5431"?