تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3775 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 24
30721
2
يوليو 24
9828
2
سبتمبر 22
7628
1
أبريل 25
516
3
أغسطس 24
8350