콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
11823 화면

when I try from base management it says:

Could not drop database !

and when I try to drop via terminal:

dropdb: database removal failed: ERROR:  database "database" is being accessed by other users
DETAIL:  There are 4 other session(s) using the database.

I can drop other databases, but not the one I need to drop

any other possibilities?

아바타
취소
베스트 답변

Restarting the server may not fix this. If a user is logged into PostgreSQL, then restarting Odoo won't disconnect them. A better answer would be to restart PostgreSQL and try again.

아바타
취소
베스트 답변

Restart the service ( /etc/init.d/openerp-server restart) and immediately try again. If you are going to drop the database from commandline, then you can completely stop the OpenERP server and then try again.

아바타
취소

Ray Carnes Thank you. Helped me too. I restarted postgresql.

관련 게시물 답글 화면 활동
1
11월 22
2648
0
3월 15
5003
0
7월 25
1603
2
11월 24
6739
2
10월 24
3630