hi-problem in creating database & user in postgresql

From: saurabh garg <saurabhgarg100(at)yahoo(dot)co(dot)in>
To: pgsql-admin(at)postgresql(dot)org
Cc: saurabhgarg100(at)yahoo(dot)co(dot)in
Subject: hi-problem in creating database & user in postgresql
Date: 2002-11-01 05:33:14
Message-ID: 20021101053314.62277.qmail@web8001.mail.in.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

hi
while creating user in postgresql. i'm giving these
command on cygwin. it's giving the below error.


$ createuser administrator with password ' ';
Shall the new user be allowed to create databases?
(y/n) y
Shall the new user be allowed to create more new
users? (y/n) n
psql: 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.5432"?
createuser: creation of user " " failed

similar error while creating db.

$ createdb mydb
psql: 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.5432"?
createdb: database creation failed

can u help me please? thnx in advance.

regards,

saurabh

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com

Browse pgsql-admin by date

  From Date Subject
Next Message mallah 2002-11-01 08:35:49 Routine vacuuming [analyze] strategy..
Previous Message Neil Conway 2002-11-01 01:54:12 Re: [GENERAL] my.cnf to postgresql.conf Conversion