| From: | Jan de Visser <jan(at)de-visser(dot)net> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Cc: | Dale Seaburg <kg5lt(at)verizon(dot)net> |
| Subject: | Re: Ubuntu installed postgresql password failure |
| Date: | 2015-09-13 21:20:17 |
| Message-ID: | 5462815.nyO78YWorz@bison |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On September 13, 2015 03:57:51 PM Dale Seaburg wrote:
> I have reached my wit's end. lol I installed postgresql (9.3.9) and
> pgadmin3 with the Ubuntu Software Center. When using pgadmin or psql, I
> get an error "password authentication failed for user "postgres" ".
> Ubuntu (14.04.3).
>
> I created a postgres user BEFORE installing postgresql/pgadmin toolset.
> The password I used for the postgres user will not work with the
> installed postgresql tools.
>
> What in the world am I doing wrong, and more importantly, how do I
> determine the password used for postgres during the postgresql install?
> AND, why should it be different from the postgres user I created.
Try
jan(at)bison:~$ sudo -u postgres -s
postgres(at)bison:~$ psql
psql (9.4.4)
Type "help" for help.
postgres=# ALTER USER postgres PASSWORD 'postgres';
ALTER ROLE
postgres=# \q
postgres(at)bison:~$ exit
jan(at)bison:~$
>
> Any help will be greatly appreciated.
>
> Dale
| From | Date | Subject | |
|---|---|---|---|
| Next Message | John R Pierce | 2015-09-13 21:22:55 | Re: Ubuntu installed postgresql password failure |
| Previous Message | Adrian Klaver | 2015-09-13 21:16:55 | Re: Ubuntu installed postgresql password failure |