re-enable _ensure_connected and added select_db
Release 2.10.3