コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
10944 ビュー

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
1996
0
3月 15
4186
0
2月 25
589
2
11月 24
4506
2
10月 24
1789