hi-problem in creating database & user in postgresql

Поиск
Список
Период
Сортировка
От saurabh garg
Тема hi-problem in creating database & user in postgresql
Дата
Msg-id 20021101053314.62277.qmail@web8001.mail.in.yahoo.com
обсуждение исходный текст
Список 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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: [GENERAL] my.cnf to postgresql.conf Conversion
Следующее
От: mail2stern@gmx.net (Stefan Stern)
Дата:
Сообщение: readline.h / history.h error at ./configure