Unable to log in to data base ( macbook air)

Hello everyone,
Today I tried to start poker tracker 4 on my macbook. When I started PT4 i got this message
Unable to login to database (postgres). Reason: 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"?
then i clicked on ''configure defaults' and tried to connect but got this message ''Unable to connect to this database. Please check the configuration.''
I also did a SMC this morning is that maybe the problem ?
can somebody please help me I really dont know what to do!
Kind regards,
kwok
Today I tried to start poker tracker 4 on my macbook. When I started PT4 i got this message
Unable to login to database (postgres). Reason: 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"?
then i clicked on ''configure defaults' and tried to connect but got this message ''Unable to connect to this database. Please check the configuration.''
I also did a SMC this morning is that maybe the problem ?
can somebody please help me I really dont know what to do!
Kind regards,
kwok