Summary
This article explains the BACKTRACK error message “Unable to connect to [database name]. Database is currently in use” and details how to fix the underlying problem that caused it to appear.
Explanation
There is another application that is accessing the same database that you are attempting to connect to with BACKTRACK. The connection that the other application has with the database is hindering BACKTRACK’s ability to access data.
This can commonly occur if you are using SQL Management Studio or similar application to make changes to the backend database. To keep integrity of the database, SQL will limit access in certain cases.
Solution
Close the application other than BACKTRACK that has access to the database so BACKTRACK can have full access to the database. If this does not work, try restarting the computer. A restart may close down a hidden application or legacy service running that is not immediately obvious to the user.
Additional Comments
Error first appeared: Windows server 2008 R2, Windows 7 running BACKTRACK 2012, RC1, RC2