DEV: Add rake task to check that the DB can be accessed (PR #14300)

GitHub