Cant connect to the database anyone ran into this on revisions?

The database connection could not be established. Error code 10. Extended error code 778.