I have installed odoo and set up a database on my database server,
however, when odoo starts it tries to access the incorrect database name.
The database I have created is on host 10.0.1.10 and is called "odoo". I can connect to it from the terminal on the odoo server.
But as you can see from the log, odoo is trying to access a database called "postgres", not "odoo".
OperationalError: FATAL: no pg_hba.conf entry for host "10.0.1.10", user "odoo", database "postgres", SSL on
FATAL: no pg_hba.conf entry for host "10.0.1.10", user "odoo", database "postgres", SSL off
I have set up my config correctly as far as I can see, but odoo seems to ignore the db_name option.
any ideas?
[options]
; This is the password that allows database operations:
admin_passwd = mypassword
db_host = 10.0.1.10
db_name = odoo
db_port = 5432
db_user = odoo
db_password = mydbpassword
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons