Building a Mario Database

I´m having a weird problem. It won´t let me DROP the database because there´s someone else in it, hah.

mario_database=> DROP DATABASE second_database;
ERROR: database “second_database” is being accessed by other users
DETAIL: There is 1 other session using the database.

Should I just wait…? Is it normal?

1 Like

I am not sure which dbms you are using for this exercise but maybe try adding “with (force)” to the drop command or lookup a similar option for your dbms.

1 Like

do you maybe have an other terminal open where you are accessing that database?

1 Like

Yes, it was me. I had freeCodeCamp page open AND CodeAlly too, so it was me. Hope this is useful to some other people.
Thank you.

3 Likes