postgresql creating and managing users
Posted
by
MalphasWats
on Server Fault
See other posts from Server Fault
or by MalphasWats
Published on 2012-06-18T19:25:48Z
Indexed on
2012/06/18
21:18 UTC
Read the original article
Hit count: 241
postgresql
I've tried a few times to get postgresql running on a couple of different linux boxes, but I've always ended up binning it and going back to MySQL because I can't get my head around how to create and manage users.
This time around, I've actually gotten as far as being able to log in with my own account, but I created the account with the createuser
command and it has a different password to my actual user account.
What I'd like to be able to do is log in as me to create databases, users and assign database permissions, but then have an account that is separate and doesn't have an account on the server to use with my web app.
Does anyone have a good step-by-step guide for complete morons that goes through creating users and assigning access to various databases in postgresql?
© Server Fault or respective owner