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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
8月 24
|
31494 | ||
|
2
7月 24
|
10060 | ||
|
2
9月 22
|
7797 | ||
|
1
4月 25
|
731 | ||
|
3
8月 24
|
8505 |