Implement ConnectionDB.