Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
3800 Weergaven

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

Avatar
Annuleer
Beste antwoord

try this,


sudo su postgres

createdb test_init -O odoo

psql -d test_init -f test_init.sql


Kind regards,

Juanvi

Avatar
Annuleer
Beste antwoord

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.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
aug. 24
30841
2
jul. 24
9862
2
sep. 22
7658
1
apr. 25
548
3
aug. 24
8370