Newbie's question: How can I connect to my postgresql-server?

From: Ricky Tompu Breaky <ricky(dot)breaky(at)uni(dot)de>
To: "pgsql-general(at)postgresql(dot)org List" <pgsql-general(at)postgresql(dot)org>
Subject: Newbie's question: How can I connect to my postgresql-server?
Date: 2009-09-24 18:47:03
Message-ID: 20090925014703.00ebbe92@uni.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Dear my friends....

I am still new in PostgreSQL. Usually I use MySQL on OpenSuSE.

I just have installed postgres with: "zypper install
postgresql-server". The installation looked OK.

As post-installation process, I've done:
"
sussy:~ # rcpostgresql status
Checking for PostgreSQL: running
sussy:~ # su postgres
postgres(at)sussy:/root> createuser -D -p ricky
could not change directory to "/root"
Enter name of role to add: ricky
Shall the new role be a superuser? (y/n) y
createuser: could not connect to database postgres: 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.0"?
postgres(at)sussy:/root>
".

Why can I not connect to my Postgres?

Please tell me. Give me a first hint and this small step for me to
getting start to use postgres.

Thank you very much in advance.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eric B. Ridge 2009-09-24 18:52:56 v8.1 pgbench ERRORs
Previous Message Alvaro Herrera 2009-09-24 18:41:19 Re: lazy vacuum and AccessExclusiveLock

Browse pgsql-hackers by date

  From Date Subject
Next Message Sam Mason 2009-09-24 18:57:55 Re: Newbie's question: How can I connect to my postgresql-server?
Previous Message Peter Eisentraut 2009-09-24 18:42:32 Re: [rfc] unicode escapes for extended strings