src/Ease/SQL/MySQLi.php
public function connect()
    {
        $this->sqlLink = new \mysqli($this->server, $this->username,
            $this->password);
        if ($this->sqlLink->connect_errno) {
            $this->addStatusMessage('Connect: error #'.$this->sqlLink->connect_errno.' '.$this->sqlLink->connect_error,
                'error');

            return false;
        } else {
            if ($this->selectDB($this->database)) {
                $this->errorText = $this->sqlLink->error;
                parent::connect();
            } else {
                return false;
            }
        }
    }
public function connect()
    {
        $this->sqlLink = new \mysqli($this->server, $this->username,
            $this->password);
        if ($this->sqlLink->connect_errno) {
            $this->addStatusMessage('Connect: error #'.$this->sqlLink->connect_errno.' '.$this->sqlLink->connect_error,
                'error');

            return false;
        } else {
            if ($this->selectDB($this->database)) {
                $this->errorText = $this->sqlLink->error;
                parent::connect();
            } else {
                return false;
            }
        }
    }
Připojí se k mysql databázi.