private function connect()
    {
		$this->sessionLink = mysqli_connect($this->host_master,$this->user,$this->password,$this->name) or die("Error " . mysqli_error($this->sessionLink));

//        $this->pdo = new \PDO($dsn, $this->username, $this->password, $this->connectionOptions);
//        $this->pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
//        $this->driver = $this->pdo->getAttribute(\PDO::ATTR_DRIVER_NAME);
    }
private function connect()
    {
		$this->sessionLink = mysqli_connect($this->host_master,$this->user,$this->password,$this->name) or die("Error " . mysqli_error($this->sessionLink));

//        $this->pdo = new \PDO($dsn, $this->username, $this->password, $this->connectionOptions);
//        $this->pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
//        $this->driver = $this->pdo->getAttribute(\PDO::ATTR_DRIVER_NAME);
    }
private function connect ( ) { $ this -> sessionLink = mysqli_connect ( $ this -> host_master , $ this -> user , $ this -> password , $ this -> name ) or die ( "Error " . mysqli_error ( $ this -> sessionLink ) ) ; //        $this->pdo = new \PDO($dsn, $this->username, $this->password, $this->connectionOptions); //        $this->pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); //        $this->driver = $this->pdo->getAttribute(\PDO::ATTR_DRIVER_NAME); }
NOT WORKING!!!
Lazy-connects to the database.

@param string $dsn DSN string
NOT WORKING!!! Lazy - connects to the database .