İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
11614 Görünümler

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?

Avatar
Vazgeç
En İyi Yanıt

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.

Avatar
Vazgeç
En İyi Yanıt

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.

Avatar
Vazgeç

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Kas 22
2520
0
Mar 15
4737
0
Tem 25
1419
2
Kas 24
6215
2
Eki 24
3162