Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3929 Vistas

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
Descartar
Mejor respuesta

try this,


sudo su postgres

createdb test_init -O odoo

psql -d test_init -f test_init.sql


Kind regards,

Juanvi

Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
ago 24
31578
2
jul 24
10078
2
sept 22
7807
1
abr 25
763
3
ago 24
8522