Bypassing recovery for database '%1!s!' because it is marked as an inaccessible database mirroring database. A problem exists ...

Bypassing recovery for database '%1!s!' because it is marked as an inaccessible database mirroring database. A problem exists with the mirroring session. The session either lacks a quorum or the communications links are broken because of problems with links, endpoint configuration, or permissions (for the server account or security certificate). To gain access to the database, figure out what has changed in the session configuration and undo the change.