İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3938 Görünümler

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
Vazgeç
En İyi Yanıt

try this,


sudo su postgres

createdb test_init -O odoo

psql -d test_init -f test_init.sql


Kind regards,

Juanvi

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ağu 24
31655
2
Tem 24
10088
2
Eyl 22
7821
1
Nis 25
797
3
Ağu 24
8545