PostgreSQL - How to login with my Linux user account

Поиск
Список
Период
Сортировка
От Amn Ojee Uw
Тема PostgreSQL - How to login with my Linux user account
Дата
Msg-id ae4781f7-5221-0ea3-e2ed-611bd5078409@gmail.com
обсуждение исходный текст
Ответы Re: PostgreSQL - How to login with my Linux user account  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: PostgreSQL - How to login with my Linux user account  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: PostgreSQL - How to login with my Linux user account  (Amn Ojee Uw <amnojeeuw@gmail.com>)
Список pgsql-general

I'd like to log into my newly installed PostgreSQL [ PostgreSQL 12.15 (Debian 12.15-1.pgdg120+1) ] using my linux account.
In trying to do that this web page suggest that I enter :

psql -d mydb -U myuser -W

However, that command requires a database_name (mydb), and PosgreSQL 12.15 being so freshly installed does not yet 
have any database created by me.

How would you suggest I circumvent this challenge?

Mind you that, using the postgres account I have created other accounts.


Role name |                         Attributes                         | Member of 
-----------+------------------------------------------------------------+----------- chispa    | Superuser                                                  | {} pedro     | Superuser                                                  | {} postgres  | Superuser, Create role, Create DB, Replication, Bypass RLS | {}


Thanks in advance.

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: password error in batch script
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: PostgreSQL - How to login with my Linux user account