Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ox7TY-0003wV-4k for pgsql-admin@arkaria.postgresql.org; Mon, 21 Nov 2022 14:08:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ox7TX-0006h7-0S for pgsql-admin@arkaria.postgresql.org; Mon, 21 Nov 2022 14:08:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ox7TW-0006gy-GD for pgsql-admin@lists.postgresql.org; Mon, 21 Nov 2022 14:08:42 +0000 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ox7TT-0004NB-0y for pgsql-admin@lists.postgresql.org; Mon, 21 Nov 2022 14:08:41 +0000 Received: by mail-qv1-xf30.google.com with SMTP id cz18so1714160qvb.13 for ; Mon, 21 Nov 2022 06:08:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=yEF8CfSvyxVOx1lr6GUBobaUxNK24b/NYaHGdpKJbxE=; b=TRG/oZvi7Ewqv2rgAG3rKn5n20pAXc1HYwxgpmb7iS/5EKZ4lJAnmimXZg4tmOeDkK afcGcrDSpwyp+SZnGTVybfPZdzdXQkxj/fu6U9tffUHqTrbvjvDeil8y4r+6hxn3KHTG Za4u66Logn4B85ebl+omd54rv1EABbupzrPgMuOY9FEOfky/Ko8bkTQ+2ZNoj/MKuPBW aUVtbWfEKUe4HKXc+9LuXfBBuDQCGV0Vpek+FMBlxhXLFI+LwK/l92GwUI2m5nZu+ohV gm0FcQpo+X7FhAxy8AgoJZkI7Zz+53zrl9XW3sJARH1K3GNQLyub486h7+RjD6fBNh8C 9Nmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=yEF8CfSvyxVOx1lr6GUBobaUxNK24b/NYaHGdpKJbxE=; b=xGZznsGVYvoxMdmExP+nPzAL//oR0rIcKymB+HGTPmWbIlRfBHhp+TCA8xD3OkWLF0 Bcsy2IwmaINexqTLOZzOcKmOYp4eo11uw7B4VJ9kwukte619rjt4ACFflRKVtGMYrdkm fuy7T/ZeJJ5tMFO+8sr3wbt5WJLo4Cm3+9unUonz9ajpMqCBlqF4O18E75+iS2kQdfl7 qdulBiYmKPpVMAmEuoRfLG/2iJhFCclGkT7xLCOtzXmI9tQU6dabNS4WtTcIeoLR6Gfj gxeYRA7bn/JhmYQ/3DYwtiLO51vhcsVEYi2GSORtG48KnEflWc16hFn/rZ4GnydSY0Y4 XcGA== X-Gm-Message-State: ANoB5plXxBOuQ9HUKo3xa2TwQz4tH11aE8ny4xxkrus+zpon6/R/GuoE 0aQhKkjV2PqnieX8Z0BdEwvis36ap4E= X-Google-Smtp-Source: AA0mqf5zmol/QxVAggAgO9Ge7FaHxoB+G6pl6a06mkxw22rVJQTg85cqyeCdyhRVtQHaZFsY/DDxuw== X-Received: by 2002:a0c:ee27:0:b0:4c6:70c5:fd1d with SMTP id l7-20020a0cee27000000b004c670c5fd1dmr5775213qvs.46.1669039717824; Mon, 21 Nov 2022 06:08:37 -0800 (PST) Received: from ?IPV6:2600:1700:bd2c:b810::43? ([2600:1700:bd2c:b810::43]) by smtp.googlemail.com with ESMTPSA id j6-20020a05620a410600b006fa2dde9db8sm8327352qko.95.2022.11.21.06.08.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 06:08:37 -0800 (PST) Content-Type: multipart/alternative; boundary="------------EKBxC09xAOJM4vpRkZIN5OGb" Message-ID: <79a5a7cf-ad30-6b22-70d2-c9092074a1f1@gmail.com> Date: Mon, 21 Nov 2022 08:08:36 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: user credentials rejected by pgAdmin right after new install Content-Language: en-US To: pgsql-admin@lists.postgresql.org References: From: Ron In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------EKBxC09xAOJM4vpRkZIN5OGb Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit "Wrong credentials" means that pgAdmin successfully connected to the Postgresql server.  OP just couldn't log in. On 11/21/22 01:38, Holger Jakobs wrote: > > Hi Frank > > Using pgAdmin is generally fine, but not helpful in case you're trying to > find an error regarding connecting to the server. > > Be aware that the pgAdmin mailing list isn't this one. pgAdmin is a > different project. > > Try to connect using psql, which is the only "official" frontend. > > Watch out for the setting listen_addresses in postgresql.conf and > appropriate entries in pg_hba.conf, as without correct values there no > connection is possible. Often, listen_addresses doesn't allow remote > connections with the default setting. > > If you are connecting with pgAdmin from the same machine (NOT via TCP/IP), > then you can use a local socket (AF_UNIX) and enter the path of the socket > files instead of the IP address or the name of the server. pgAdmin can > handle this, as psql, but DBeaver for instance cannot. > > Best Regards, > > Holger > > Am 20.11.22 um 19:59 schrieb Frank Rueter: >> Hi, >> >> I have to install postgres on my QNAP TVS-1271U-RP but am no pro, so >> hopefully this is an easy beginners mistake: >> >> * via DockerStation on the QNAP I installed postgres and pgadmin via >> this docker compose >> * the only thing I changed in the process was the POSTGRES_PASSWORD in >> the yml. >> * after successful install I went to pgadmin, clicked "add new server" >> and entered the server's ip address along with the POSTGRES_USER and >> POSTGRES_PASSWORD values from the yml file. >> * However, pgadmin says that those are the wrong user credentials. >> * I logged into the docker terminal for my docker container and checked >> the environment which confirms the above values are indeed correct. >> >> >> I used to have this running once in the past but decided to uninstall >> everything and start from scratch for several reasons. After several >> hours of trying I just cannot figure out what I am missing to get this going. >> >> If someone would be able to assist with this, that would be amazing. >> >> Cheers, >> frank > -- > Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012 -- Angular momentum makes the world go 'round. --------------EKBxC09xAOJM4vpRkZIN5OGb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit "Wrong credentials" means that pgAdmin successfully connected to the Postgresql server.  OP just couldn't log in.

On 11/21/22 01:38, Holger Jakobs wrote:

Hi Frank

Using pgAdmin is generally fine, but not helpful in case you're trying to find an error regarding connecting to the server.

Be aware that the pgAdmin mailing list isn't this one. pgAdmin is a different project.

Try to connect using psql, which is the only "official" frontend.

Watch out for the setting listen_addresses in postgresql.conf and appropriate entries in pg_hba.conf, as without correct values there no connection is possible. Often, listen_addresses doesn't allow remote connections with the default setting.

If you are connecting with pgAdmin from the same machine (NOT via TCP/IP), then you can use a local socket (AF_UNIX) and enter the path of the socket files instead of the IP address or the name of the server. pgAdmin can handle this, as psql, but DBeaver for instance cannot.

Best Regards,

Holger

Am 20.11.22 um 19:59 schrieb Frank Rueter:
Hi,

I have to install postgres on my QNAP TVS-1271U-RP but am no pro, so hopefully this is an easy beginners mistake:
  • via DockerStation on the QNAP I installed postgres and pgadmin via this docker compose 
  • the only thing I changed in the process was the POSTGRES_PASSWORD in the yml.
  • after successful install I went to pgadmin, clicked "add new server" and entered the server's ip address along with the POSTGRES_USER and POSTGRES_PASSWORD values from the yml file.
  • However, pgadmin says that those are the wrong user credentials.
  • I logged into the docker terminal for my docker container and checked the environment which confirms the above values are indeed correct.

I used to have this running once in the past but decided to uninstall everything and start from scratch for several reasons. After several hours of trying I just cannot figure out what I am missing to get this going.

If someone would be able to assist with this, that would be amazing.

Cheers,
frank
-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012

--
Angular momentum makes the world go 'round.
--------------EKBxC09xAOJM4vpRkZIN5OGb--