Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4048 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

try this,


sudo su postgres

createdb test_init -O odoo

psql -d test_init -f test_init.sql


Kind regards,

Juanvi

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
серп. 24
32076
2
лип. 24
10253
2
вер. 22
7928
1
квіт. 25
926
3
серп. 24
8647