Skip to Content
Menu
This question has been flagged
2 Replies
3472 Views

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.


Avatar
Discard
Best Answer

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.

Avatar
Discard
Author Best Answer

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.

Avatar
Discard