Seaquel
SQL Server error code

SQL Server error 5011

SQL Server raises error 5011 at severity 14, which marks a problem with the query or data that you can correct.

User does not have permission to alter database '%.*ls', the database does not exist, or the database is not in a state that allows access checks.
Msg5011
Severity14
Group5000–5999

Source: Database Engine events and errors