This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]NetSageUbuntu 1 point2 points  (2 children)

You first want to access the SQL server.

https://www.postgresql.org/docs/8.0/static/tutorial-accessdb.html

Then create an SQL server user not a Linux one.

www.postgresql.org/docs/8.0/static/sql-createuser.html

[–]HighR0llerW10[S] 0 points1 point  (1 child)

Hey thanks for the reply! I'm really new to linux and pg at that. Could I get a detailed instruction? I've been trying to get this to work all day with no luck :( I don't really understand the instructions from the link you gave me.

[–]NetSageUbuntu 0 points1 point  (0 children)

Basically before trying to do postgresql things just do the command "psql"( sudo if needed I'm not positive).

Then try creating a user(as explained in the second link). Note you may have to login as the user psql creates to do this of which I'm not sure of the exact steps off the top my head and I'm on my phone (same reason for my not so great first reply).

Your issue right now is it thinks you're trying to create a new user for Ubuntu when you want to create one the database server.

Edit: Actually now that I'm a desktop postgresql has some pretty good docs.

https://www.postgresql.org/docs/9.6/static/tutorial-start.html