Page 1 of 1

I restarded my mac and can´t log in to postgresql

PostPosted: Wed Apr 24, 2013 3:44 am
by Pha1m
Hi!
I have a problem. I purchased Pokertracker 4 for mac and installed it. I got it working and have played a few hundred hands but now when I try to start I get this error message:

Unable to login to database(postgres). Reason: could not connect to server: No such file or directory ls the server running locally and accepting connections on Unix domain socket"tmp/.s.PGSQL.5432"?

What should I do?

Re: I restarded my mac and can´t log in to postgresql

PostPosted: Wed Apr 24, 2013 8:31 am
by kraada
In Applications you should see a PostgreSQL folder - could you tell me what version you see there?

Re: I restarded my mac and can´t log in to postgresql

PostPosted: Wed Apr 24, 2013 2:13 pm
by Pha1m
It´s version 9.0

Re: I restarded my mac and can´t log in to postgresql

PostPosted: Wed Apr 24, 2013 4:57 pm
by kraada
Click Applications -> Utilities -> Terminal and run this command:

sudo launchctl start com.edb.launchd.postgresql-9.0

and type in your Mac password and hit enter when prompted, then try again and let me know if that works better for you.

Re: I restarded my mac and can´t log in to postgresql

PostPosted: Wed Apr 24, 2013 5:14 pm
by Pha1m
I got it working right now. I re-installed Postgresql 9.0 and now it´s working again and the database is still there. :D
Thanks anyway for helping! I save your advice if it crashes again.

highfalutin