code: @Override
    public void initializeConnection() throws SQLException {
      super.initializeConnection();
      this.currentProtocol = null;
      //launching initial loop
      reconnectFailedConnection(new SearchFilter(true, false));
      resetMasterFailoverData();
    }
docs: Connect to database.
  
  @throws SQLException if connection is on error.