DataBase

[PostgreSQL] Drop Database시 오류

JuBin 2021. 2. 2. 17:20
반응형

# database drop시 


ERROR:  database "pilot" is being accessed by other users
DETAIL:  There is 1 other session using the database.

 

 


REVOKE CONNECT ON DATABASE pilot FROM public;
   >> pilot 접근 제한 걸어놓고
   >> sudo systemctl restart postgresql 뽀그리 재시작

반응형