Re: [ADMIN] Exception while accessing database

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: [ADMIN] Exception while accessing database
Дата
Msg-id 4C067C5E0200002500031DBD@gw.wicourts.gov
обсуждение исходный текст
Ответ на Exception while accessing database  (Manohar Bhattarai <manoharbhattarai@gmail.com>)
Ответы Re: [ADMIN] Exception while accessing database  (Manohar Bhattarai <manoharbhattarai@gmail.com>)
Список pgsql-general
Manohar Bhattarai <manoharbhattarai@gmail.com> wrote:

> FATAL: password authentication failed for user "postgres"

> But the password is the same that i use to login postgres user in
> the terminal.
> What could be the problem?

When you say "postgres user in the terminal", do you mean logging in
to the operating system?  If so, that has nothing to do with the
database login unless you choose to make it so by having an "ident"
entry in the pg_hba.conf file.

http://www.postgresql.org/docs/8.3/interactive/client-authentication.html

> I am not able to understand how to start creating a new user
> and a new database after a fresh installation of postgres.

Once you get logged in with the postgres user, that would be the
CREATE DATABASE and CREATE USER statements:

http://www.postgresql.org/docs/8.3/interactive/sql-createdatabase.html

http://www.postgresql.org/docs/8.3/interactive/sql-createuser.html

-Kevin

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: create index concurrently - duplicate index to reduce time without an index
Следующее
От: Mathieu De Zutter
Дата:
Сообщение: Re: What Linux edition we should chose?