From: Amn Ojee Uw <amnojeeuw@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: role "my_account" does not exist
Date: Thu, 3 Aug 2023 20:17:38 -0400
Message-ID: <eb7e21fd-a01a-a573-11f1-02388f9834d1@gmail.com> (raw)
Hello!
Following this web page
<https://ubiq.co/database-blog/create-user-postgresql/;, I have tried to
create a new role/user, but to no avail.
After typing the following command : /*createuser --interactive
--pwprompt*/ I get the following questions:
Enter name of role to add: company_name
Enter password for new role: xxxxxxx
Enter it again: xxxxxxx
Shall the new role be a superuser? (y/n) y
Than this error is displayed :
*/createuser: error: connection to server on socket
"/var/run/postgresql/.s.PGSQL.5432" /**/
/**/failed: FATAL: role "my_debian_login_account_name" does not exist/*
How/ever, this issue is not really relevant/, per se, since I am able to
create roles once I log in PostgreSQL-15. Nonetheless, if the service
exist, why not usu it. If the services exist and is not working, could
it be that there is a problem that will come apparent later on, when
unlike now, it would be during a critical moment. Thus the question,
what can I do to resolve this issue?
Is there something I am missing?
Thanks
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: amnojeeuw@gmail.com
Subject: Re: role "my_account" does not exist
In-Reply-To: <eb7e21fd-a01a-a573-11f1-02388f9834d1@gmail.com>
References: <eb7e21fd-a01a-a573-11f1-02388f9834d1@gmail.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