Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
4045 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

try this,


sudo su postgres

createdb test_init -O odoo

psql -d test_init -f test_init.sql


Kind regards,

Juanvi

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
aug. 24
32075
2
iul. 24
10253
2
sept. 22
7928
1
apr. 25
924
3
aug. 24
8647