تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
12215 أدوات العرض

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
يوليو 16
6209
1
ديسمبر 19
10908
1
سبتمبر 19
4022
0
فبراير 25
1028
2
يناير 25
7288