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

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

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

Postby Pha1m » Wed Apr 24, 2013 3:44 am

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?
Pha1m
 
Posts: 15
Joined: Sun Apr 21, 2013 2:31 pm

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

Postby kraada » Wed Apr 24, 2013 8:31 am

In Applications you should see a PostgreSQL folder - could you tell me what version you see there?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

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

Postby Pha1m » Wed Apr 24, 2013 2:13 pm

It´s version 9.0
Pha1m
 
Posts: 15
Joined: Sun Apr 21, 2013 2:31 pm

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

Postby kraada » Wed Apr 24, 2013 4:57 pm

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.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

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

Postby Pha1m » Wed Apr 24, 2013 5:14 pm

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.
Pha1m
 
Posts: 15
Joined: Sun Apr 21, 2013 2:31 pm


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: MagPie Crawler and 11 guests

cron