Re: Identity Problem

From: Edward Macnaghten <eddy(at)edlsystems(dot)com>
To: Mike-Olumide Johnson <mjohnson(at)mdobonline(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Identity Problem
Date: 2005-01-31 18:12:21
Message-ID: 41FE7505.7010808@edlsystems.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


It looks as though you need to create your database users.

Try using the "createuser" command.

For more information:
http://www.postgresql.org/docs/7.4/interactive/user-manag.html

Eddy

Mike-Olumide Johnson wrote:
> Hello,
>
> Have RADIUS setup and working properly.
>
> While executing SQL got the following error:
>
> 'psql: Warning: The -u option is deprecated. Use -U. User name: Password:
> /root/freeradius-1.0.1/src/modules/rlm_sql/drivers/rlm_sql_postgresql/db_pos
> tgresql.sql: Permission denied'
>
> Below is further ouputs from CLI
>
> root(at)mj data]# psql -U
> psql: option requires an argument -- U
> Try 'psql --help' for more information.
> [root(at)mj data]# psql -u
> psql: Warning: The -u option is deprecated. Use -U.
> User name: root
> Password:
> psql: FATAL: Database "root" does not exist in the system catalog.
> [root(at)mj data]# psql -u
> psql: Warning: The -u option is deprecated. Use -U.
> User name: postgres
> Password:
> psql: FATAL: IDENT authentication failed for user "postgres"
>
> Will appreciate if someone can point me to how this problem could be
> resolved.
>
> Thanks in anticipation,
> Mike
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Si Chen 2005-01-31 18:13:26 how to release a transaction lock on a table?
Previous Message Tom Lane 2005-01-31 17:58:17 Re: pg_dump in 7.2.4 with trigger functions