Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
12299 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore Risposta migliore

Thanks Axel and Fasluca

Regards

Rohit

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 16
6286
1
dic 19
10980
1
set 19
4070
0
feb 25
1174
2
gen 25
7521