Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
12512 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thanks Axel and Fasluca

Regards

Rohit

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 16
6438
1
thg 12 19
11172
1
thg 9 19
4222
0
thg 2 25
1512
2
thg 1 25
8115