I have installed Odoo10 and the PostgreSQL database on one machine. I have now created another machine to run the PostgreSQL database. How do I point Odoo to use the new database?
Thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I have installed Odoo10 and the PostgreSQL database on one machine. I have now created another machine to run the PostgreSQL database. How do I point Odoo to use the new database?
Thank you.
You can either use config files or command line arguments to set the database information.
You'll need to set the db_host to the public address of the other machine and the db_port to the port that is running postgres. You will also need to ensure there's no firewall rules blocking this port.
Check out the official Odoo docs on the command line interface.
Thank you Jake Robinson for your help. I was able to edit the Odoo.conf and pg_hba.conf using notepad++. Now when I open the PGAdmin on the odoo machine, it shows my Database server. Next will be to migrate all the tables.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up