2015-09-03 60 views

回答

0

您应该检查您的.conf,在我的情况下是openerp-server.conf,并检查字段db_password是否有问题。这些字段包含您的openerp用户的密码以访问您的数据库。在我的情况,我的.conf文件看起来是这样的: [options] ; This is the password that allows database operations: admin_passwd = myPass db_host = false db_port = false db_user = openerp db_password = 1234 addons_path = my_path/dev_core/addons, my_path/dev_core/my_modules

在我没有设置密码,我的用户的OpenERP所以我DB_PASSWORD是假的,刚开始的时候我开始用碧玉报告工作,我不得不设置一个密码它,如果是你的情况,你可以设置这样的密码:

su root 
su postgres 
psql 

postgres=# alter user openerp password '1234';