Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Help setting up postgreSQL?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
tenspd137
Guru
Guru


Joined: 22 Aug 2006
Posts: 391

PostPosted: Mon Dec 08, 2008 3:03 am    Post subject: [solved] Help setting up postgreSQL? Reply with quote

HI -

I have been following the postgreSQL setup guide: http://www.gentoo.org/doc/en/postgres-howto.xml

but it only seems to work if I am root all the time. When I log out as root and am just a regular user, follwing the directions always gives me the following:

Code:

createdb: could not connect to database postgres: could not connect to server: Permission denied
   Is the server running locally and accepting
   connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


I am assuming something in my setup files is wrong, but I have tried different things and seem to be lost. Anyone have any ideas?

Thanks!
Back to top
View user's profile Send private message
tenspd137
Guru
Guru


Joined: 22 Aug 2006
Posts: 391

PostPosted: Mon Dec 08, 2008 3:10 am    Post subject: Reply with quote

Forgot to add myself to the postgres group.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum