[Babase] connecting to psql

Leah Gerber babase@www.eco.princeton.edu
Wed, 05 Oct 2005 14:43:31 -0400


Hi Karl,

I have been doing some online searches to try to figure out what psql 
on the unix server is all about. Once I figure it out I will write some 
documentation that is babase specific so others can use it if desired. 
I was hoping to try out the \copy command but I can't figure out how to 
logon with psql. I tried

$ psql babase_test

psql: could not connect to server: Permission denied
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

I am wondering which directory I should be in to try this? I am not 
sure where the actual database is located on papio and if it matters 
where I am when I try psql?

Thanks,
Leah