콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
51563 화면
How to connect Odoo with Postgresql.
Odoo running in one machine, Postgresql running in another machine.
My requirement is i have to run odoo and postgresql in two different machines.
아바타
취소
베스트 답변

Hi,
Please read this blog, where the same criteria is explained in detail:- Professional Odoo 11 Deployment Guid



In the postgres:



Then update the odoo conf file with this db host and port.

Thanks

아바타
취소
베스트 답변

You just need to pass "db_host=IP_of_DB_INSTANCE" & "db_port=DATABASE_PORT (by default it is 5432)"

Now, you need to change the postgres config file which will allow the IP of Odoo Instance to connect postgres.

Open: /etc/postgresql/9.5/main/pg_hba.conf and make changes in following section:

# IPv4 local connections:
host all all 127.0.0.1/32 trust
host all all IP_of_Odoo_INSTANCE/24 trust

Save the file and restart the postgres server (sudo service postgres  restart)

아바타
취소
관련 게시물 답글 화면 활동
2
7월 20
7332
0
3월 19
4
1
11월 24
6089
4
11월 19
2857
1
2월 19
8423