Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
3851 Näkymät

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
Hylkää
Paras vastaus

try this,


sudo su postgres

createdb test_init -O odoo

psql -d test_init -f test_init.sql


Kind regards,

Juanvi

Avatar
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
elok. 24
31159
2
heinäk. 24
9961
2
syysk. 22
7715
1
huhtik. 25
624
3
elok. 24
8433