Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
11604 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează

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

Related Posts Răspunsuri Vizualizări Activitate
1
nov. 22
2511
0
mar. 15
4732
0
iul. 25
1413
2
nov. 24
6189
2
oct. 24
3151