print database error