When i try to reset my database or had to do anything with database, opened 10 sessions,
➜ my_app git:(new-codebase) mix ecto.reset
api: generated priv/static/swagger.json
** (Mix) The database for Data.Repo couldn't be dropped: ERROR 55006 (object_in_use) database "my_app" is being accessed by other users
There are 10 other sessions using the database.
How i resolve this issue.
I comment out the configuration from config.ex .
When i try to reset my database or had to do anything with database, opened 10 sessions,
➜ my_app git:(new-codebase) mix ecto.reset api: generated priv/static/swagger.json ** (Mix) The database for Data.Repo couldn't be dropped: ERROR 55006 (object_in_use) database "my_app" is being accessed by other users
There are 10 other sessions using the database.
How i resolve this issue. I comment out the configuration from config.ex .