1. Failed to connect to the database server.
2. Failed to select the database.
3. Failed SQL statement.
4. Database user don't have privilege over the database, even though the user can connect to the server.

We could find a ticket regarding this post in our help desk and we have replied to you with the fix, the problem was No. 4.