protected function _parseConfig()
{
$this->_checkRequiredConfig(array('adapter', 'username'));
// try an empty password if it's not set.
if (!isset($this->_config['password'])) {
$this->_config['password'] = '';
}
// collect options to build PDO Data Source Name (DSN) string
$dsnOpts = $this->_config;
unset($dsnOpts['adapter'], $dsnOpts['username'], $dsnOpts['password'], $dsnOpts['protocol'], $dsnOpts['persistent'], $dsnOpts['charset'], $dsnOpts['phptype'], $dsnOpts['socket']);
// return DSN and user/pass for connection
return array($this->_buildDsnString($this->_normalizeConfig($dsnOpts)), $this->_config['username'], $this->_config['password']);
}