Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4233 Widoki

when I use this :

psql -U odoo -d test_init -f test_init.sql

I get this error:

psql: FATAL: Peer authentication failed for user "odoo"


how can I fix this ???

I use new odoo installation debian, odoo8

Awatar
Odrzuć
Najlepsza odpowiedź

try this,


sudo su postgres

createdb test_init -O odoo

psql -d test_init -f test_init.sql


Kind regards,

Juanvi

Awatar
Odrzuć
Najlepsza odpowiedź

Hello,

psql -U odoo -d test_init -f test_init.sql

This command is try to connect with postgresql database using user "odoo". But you have not define this user/role for postgresql database.


Please first create user/role named "odoo" and then try to connect using that user.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 24
32513
2
lip 24
10422
2
wrz 22
8063
1
kwi 25
1197
3
sie 24
8809