跳至內容
選單
此問題已被標幟
2 回覆
12213 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄
作者 最佳答案

Thanks Axel and Fasluca

Regards

Rohit

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 16
6208
1
12月 19
10907
1
9月 19
4022
0
2月 25
1028
2
1月 25
7286