Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
4057 Vues

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
Ignorer
Meilleure réponse

try this,


sudo su postgres

createdb test_init -O odoo

psql -d test_init -f test_init.sql


Kind regards,

Juanvi

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
août 24
32090
2
juil. 24
10257
2
sept. 22
7931
1
avr. 25
934
3
août 24
8654