Re: Getting started with first user.
| От | Jaime Soler |
|---|---|
| Тема | Re: Getting started with first user. |
| Дата | |
| Msg-id | CAKVUGgTcycjiZWv4t5KcEVsWoJshCvzw-J5XyEGnYn2Chd-FwQ@mail.gmail.com обсуждение исходный текст |
| Ответ на | Getting started with first user. (Agnar Renolen <agnar.renolen@gmail.com>) |
| Список | pgsql-general |
please try su postgres -c 'createuser -U postgres me' or change auth method in your pg_hba.conf
2018-01-09 10:48 GMT+01:00 Agnar Renolen <agnar.renolen@gmail.com>:
How do I get started?Then trying with the -U postgres option.Then, trying the same as root, but gettinge the same result.createuser: could not connect to database postgres: FATAL: role "me" does not existme> createuser meI installed as root, but trying doing things as my local user "me"I have just installed PostGIS (Postgres9.6) on a Debian server using apt-get.But I have problems doing anything:
root> createuser me
createuser: could not connect to database postgres: FATAL: role "root" does not exist
root> createuser -U postgres me
createuser: could not connect to database postgres: FATAL: Peer authentication failed for user "postgres"
В списке pgsql-general по дате отправления: