Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
12428 Visninger

Hi Guys

Has anyone implemented postgres as a remote database server?

We are trying to put application on one server and postgres on another which means we need to change odoo.conf file to point to the other server and we have tried that with no success.

Any help or pointers appreciated. :)

Thanks

Rohit

Avatar
Kassér
Bedste svar

Hi Rohit

You just need to set the database connection parameters in the Odoo config like:

db_host = 127.0.0.1
db_port = 5432
db_user = odoo
db_password = odoo

See more about it here:

https://www.odoo.com/documentation/9.0/reference/cmdline.html#database

Those command line arguments have their correspondent config option as explained here:

https://www.odoo.com/documentation/9.0/reference/cmdline.html#configuration-file

Avatar
Kassér
Forfatter Bedste svar

Thanks Axel and Fasluca

Regards

Rohit

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
jul. 16
6376
1
dec. 19
11089
1
sep. 19
4155
0
feb. 25
1376
2
jan. 25
7851