public function connect(array $params, $username = null, $password = null, array $driverOptions = [])
    {
        if (PlatformHelper::isWindows()) {
            return $this->connectWindows($params, $username, $password, $driverOptions);
        }
        return $this->connectUnix($params, $username, $password, $driverOptions);
    }