hi-problem in creating database in postgresql 7.2.2

Поиск
Список
Период
Сортировка
От saurabh garg
Тема hi-problem in creating database in postgresql 7.2.2
Дата
Msg-id BLEAJPOGMGDHKKFEKPCNCEEHCAAA.saurabh.garg@vichara.com
обсуждение исходный текст
Ответы Re: hi-problem in creating database in postgresql 7.2.2  (Jord Tanner <jord@indygecko.com>)
Список pgsql-bugs
hi
  i have sucessfully installed postgresql. now while creating database it
gives the following error. i'm running pgsqlserver on localhost.

 i give the command createdb -D /usr/local/share/data/data


  $ createdb -D /usr/local/share/data/data
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

  similar problem is there when i create user.

$ createuser saurabh with password 'saurabh';
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) y
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 "saurabh" failed


 can u help me please? thnx in advance.


regards,


saurabh garg

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

Предыдущее
От: "saurabh garg"
Дата:
Сообщение: Re: hi-problem while installing postgressql 7.2 version
Следующее
От: Stefan Schwarzer
Дата:
Сообщение: Bug with child tables referencing parent table?