Ubuntu, Pgadmin(delete DB) - An error has occurred: database is being accessed by other users.
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=8Jj0cykrrz4
i get an error message when trying to delete DB postgre in pgadmin (UBUNTU) :
Pgadmin III
An error has occurred:
ERROR: database "the_test" is being accessed by other users
DETAIL: There is 4 other session using the database.
-----
In this video will help you how to fix that error.
- open terminal, connect to pgsql,
- run script :
REVOKE CONNECT ON DATABASE dbname FROM PUBLIC, username;
- then :
see this video for details.
Other Videos By Ambar Hasbiyatmoko
Tags:
drop
delete
db
database
postgresql
pgadmin
ubuntu
linux
error
users
session
terminal
query
script