Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
12444 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 16
6393
Get all data from a model แก้ไขแล้ว
1
ธ.ค. 19
11107
1
ก.ย. 19
4170
0
ก.พ. 25
1406
2
ม.ค. 25
7888