pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Dummy Account <dummyaccount4u@mail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Subject: Re: Fw: Re: Could Not Connect To Server
Date: Thu, 23 Apr 2020 15:05:36 -0700
Message-ID: <5c98eed8-99bc-cf8c-d35c-6306b3c6a192@aklaver.com> (raw)
In-Reply-To: <trinity-8485523e-16c0-4282-82a6-5364b7b11433-1587679402313@3c-app-mailcom-lxa16>
References: <trinity-a1f39fea-ffcd-4e01-943d-0ac58bf7094a-1587665923182@3c-app-mailcom-lxa16>
	<CAKFQuwaP7OSwc214Q+AxW7e9FRbg=HS+HejGS4dBuyN4dh=00A@mail.gmail.com>
	<trinity-feffac82-333a-4ff4-85b1-35842d2ec777-1587667715403@3c-app-mailcom-lxa16>
	<CAKFQuwYaq6zCw=F3soEBQDo1VRzb9e0ZV7AvQVa0W=Yzv8_2KQ@mail.gmail.com>
	<trinity-8cd0a71f-5141-4035-8782-45d149bc8a0f-1587669151008@3c-app-mailcom-lxa16>
	<0d2591c4-4dfb-ef41-6329-016509cd3a00@aklaver.com>
	<trinity-c92caf44-4098-42df-bf51-b4040cc32c9f-1587670372096@3c-app-mailcom-lxa16>
	<trinity-82585037-9cd4-46b8-905c-1cc12a728eb4-1587673466514@3c-app-mailcom-lxa16>
	<7b6777a3-770d-3d5b-4cdb-2d9c141efc9c@aklaver.com>
	<trinity-eb2c7ba8-d1e9-400e-b345-626ae81c0e35-1587674249947@3c-app-mailcom-lxa16>
	<29a84aed-7713-a3f4-deca-fb85981d5826@aklaver.com>
	<trinity-8485523e-16c0-4282-82a6-5364b7b11433-1587679402313@3c-app-mailcom-lxa16>

On 4/23/20 3:03 PM, Dummy Account wrote:
> I cannot login into a postgres role via command line.
> Issue #1.
> I have never done it before via command line, so maybe I am doing it 
> incorrectly.
> I have been attempting to go:
> su - postgres
> Then it prompts me for the password.
> Unfortunately, none of the passwords that I think would pertain to 
> Postgres or PgAdmin work.
> What does work, is the "master password" that I use to log into the 
> pgAdmin Graphical User Interface.
> I would think that one would work, but it does not.

What did you use to do?:

sudo -u postgres ./pg_ctl start -D /Library/PostgreSQL/12/data


> Issue #2.
> I am thinking out loud hear, there are 3 passwords:
> Operating System Admin Password: I know that.
> pgAmin password: I know that.
> PostgreSQL 12 - the server with multiple database on it.  I believe I 
> know that?
> The issue with that is, while it was not letting me connect, I selected 
> what I think was called "clear password".
> Nonetheless, I still have what pgAdmin calls the "master password".
> So even if I did remove the password for "PostgreSQL" server, would I be 
> able to reset one?
> *Sent:* Thursday, April 23, 2020 at 4:26 PM
> *From:* "Adrian Klaver" <adrian.klaver@aklaver.com>
> *To:* "Dummy Account" <dummyaccount4u@mail.com>
> *Cc:* "pgsql-general" <pgsql-general@postgresql.org>, "David G. 
> Johnston" <david.g.johnston@gmail.com>
> *Subject:* Re: Fw: Re: Could Not Connect To Server
> On 4/23/20 1:37 PM, Dummy Account wrote:
>  > From the Finder, I think that is the same a File Explorer on Widows.
>  >  From Finder, it's locked; I cannot access it.  Could I use the command
>  > line and change ownership or access privledges?  And then get access?
> 
> Why not from the command line use a text editor to view the file(s)?
> 
>  > Thanks
> 
> 
> 
> --
> Adrian Klaver
> adrian.klaver@aklaver.com


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (29+ messages)  latest in thread

Message-ID: <5c98eed8-99bc-cf8c-d35c-6306b3c6a192@aklaver.com>
Permalink:  ../5c98eed8-99bc-cf8c-d35c-6306b3c6a192@aklaver.com/
Also on:    postgresql.org/message-id/5c98eed8-99bc-cf8c-d35c-6306b3c6a192@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, dummyaccount4u@mail.com, david.g.johnston@gmail.com
  Subject: Re: Fw: Re: Could Not Connect To Server
  In-Reply-To: <5c98eed8-99bc-cf8c-d35c-6306b3c6a192@aklaver.com>
  References: <trinity-a1f39fea-ffcd-4e01-943d-0ac58bf7094a-1587665923182@3c-app-mailcom-lxa16> <CAKFQuwaP7OSwc214Q+AxW7e9FRbg=HS+HejGS4dBuyN4dh=00A@mail.gmail.com> <trinity-feffac82-333a-4ff4-85b1-35842d2ec777-1587667715403@3c-app-mailcom-lxa16> <CAKFQuwYaq6zCw=F3soEBQDo1VRzb9e0ZV7AvQVa0W=Yzv8_2KQ@mail.gmail.com> <trinity-8cd0a71f-5141-4035-8782-45d149bc8a0f-1587669151008@3c-app-mailcom-lxa16> <0d2591c4-4dfb-ef41-6329-016509cd3a00@aklaver.com> <trinity-c92caf44-4098-42df-bf51-b4040cc32c9f-1587670372096@3c-app-mailcom-lxa16> <trinity-82585037-9cd4-46b8-905c-1cc12a728eb4-1587673466514@3c-app-mailcom-lxa16> <7b6777a3-770d-3d5b-4cdb-2d9c141efc9c@aklaver.com> <trinity-eb2c7ba8-d1e9-400e-b345-626ae81c0e35-1587674249947@3c-app-mailcom-lxa16> <29a84aed-7713-a3f4-deca-fb85981d5826@aklaver.com> <trinity-8485523e-16c0-4282-82a6-5364b7b11433-1587679402313@3c-app-mailcom-lxa16> <5c98eed8-99bc-cf8c-d35c-6306b3c6a192@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox