Re: psql: FATAL: role "postgres" does not exist
От | Scott Marlowe |
---|---|
Тема | Re: psql: FATAL: role "postgres" does not exist |
Дата | |
Msg-id | dcc563d10909261855w78a64aa1ka4ba6f888492bea0@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: psql: FATAL: role "postgres" does not exist (Martin Gainty <mgainty@hotmail.com>) |
Список | pgsql-general |
So, did you delete the postgres user? Go here: http://www.postgresql.org/docs/8.4/static/app-postgres.html and look for single user mode. It's likely what you need. Not surprised you can't get in with psql, you seem to not have a super user account (or possibly any account) 2009/9/26 Martin Gainty <mgainty@hotmail.com>: > cant get in at all with psql > netstat shows the listener is up on 5432 > > trying with pgAdmin3 > Martin Gainty > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient lediglich dem Austausch von Informationen und entfaltet keine > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le > destinataire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie > de ceci est interdite. Ce message sert à l'information seulement et n'aura > pas n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > >> Date: Sat, 26 Sep 2009 19:44:09 -0600 >> Subject: Re: [GENERAL] psql: FATAL: role "postgres" does not exist >> From: scott.marlowe@gmail.com >> To: mgainty@hotmail.com >> CC: pgsql-general@postgresql.org >> >> So, did you delete the postgres user? What happens if you bring up a >> backend in single user mode? Can you see the users then with \du? >> >> 2009/9/26 Martin Gainty <mgainty@hotmail.com>: >> > postgres >> > ? >> > Martin Gainty >> > ______________________________________________ >> > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité >> > >> > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene >> > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede >> > unbefugte >> > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese >> > Nachricht >> > dient lediglich dem Austausch von Informationen und entfaltet keine >> > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von >> > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. >> > >> > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas >> > le >> > destinataire prévu, nous te demandons avec bonté que pour satisfaire >> > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la >> > copie >> > de ceci est interdite. Ce message sert à l'information seulement et >> > n'aura >> > pas n'importe quel effet légalement obligatoire. Étant donné que les >> > email >> > peuvent facilement être sujets à la manipulation, nous ne pouvons >> > accepter >> > aucune responsabilité pour le contenu fourni. >> > >> > >> > >> > >> >> Date: Sat, 26 Sep 2009 19:29:30 -0600 >> >> Subject: Re: [GENERAL] psql: FATAL: role "postgres" does not exist >> >> From: scott.marlowe@gmail.com >> >> To: mgainty@hotmail.com >> >> CC: pgsql-general@postgresql.org >> >> >> >> 2009/9/26 Martin Gainty <mgainty@hotmail.com>: >> >> > All- >> >> > >> >> > when starting postgres what does this error mean exactly? >> >> > psql: FATAL: role "postgres" does not exist >> >> > >> >> > what is the exact solution for psql: FATAL: role "postgres" does not >> >> > exist >> >> > error? >> >> >> >> That's not an error starting postgresql, it's an error starting psql. >> >> Postgresql, by default, sets ownership of the cluster files and >> >> creates a login role for the username used to run initdb. So, what >> >> username was used to run initdb? >> > >> > ________________________________ >> > Bing™ brings you maps, menus, and reviews organized in one place. Try it >> > now. >> >> >> >> -- >> When fascism comes to America, it will be intolerance sold as diversity. > > ________________________________ > Bing™ brings you maps, menus, and reviews organized in one place. Try it > now. -- When fascism comes to America, it will be intolerance sold as diversity.
В списке pgsql-general по дате отправления: