postgresql creating and managing users
- by MalphasWats
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?