src/WorkerF/DB/Drivers/PDODriver.php
protected function _connect()
    {
        extract($this->_config, EXTR_SKIP);

        $dsn = 'mysql:dbname='.$dbname.
               ';host='.$host.
               ';port='.$port;

        $options = isset($options) ? $options + $this->_options : $this->_options;

        try {

            $this->_pdo = new PDO($dsn, $user, $password, $options);

        } catch (PDOException $e) {
            throw $e;
        }
    }
protected function _connect()
    {
        extract($this->_config, EXTR_SKIP);

        $dsn = 'mysql:dbname='.$dbname.
               ';host='.$host.
               ';port='.$port;

        $options = isset($options) ? $options + $this->_options : $this->_options;

        try {

            $this->_pdo = new PDO($dsn, $user, $password, $options);

        } catch (PDOException $e) {
            throw $e;
        }
    }
create a PDO instance

@return  void
@throws  \PDOException