Index: typo3/sysext/dbal/class.ux_t3lib_db.php =================================================================== --- typo3/sysext/dbal/class.ux_t3lib_db.php (revision 5429) +++ typo3/sysext/dbal/class.ux_t3lib_db.php (working copy) @@ -2156,6 +2156,19 @@ $GLOBALS['ADODB_FETCH_MODE'] = ADODB_FETCH_BOTH; $this->handlerInstance[$handlerKey] = &ADONewConnection($cfgArray['config']['driver']); + + // Set driver-specific options + if (isset($cfgArray['config']['driverOptions'])) { + foreach ($cfgArray['config']['driverOptions'] as $optionName => $optionValue) { + $optionSetterName = 'set' . ucfirst($optionName); + if (method_exists($this->handlerInstance[$handlerKey], $optionSetterName)) { + $this->handlerInstance[$handlerKey]->$optionSetterName($optionValue); + } else { + $this->handlerInstance[$handlerKey]->$optionName = $optionValue; + } + } + } + if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['no_pconnect']) { $this->handlerInstance[$handlerKey]->Connect($cfgArray['config']['host'].(isset($cfgArray['config']['port']) ? ':'.$cfgArray['config']['port'] : ''),$cfgArray['config']['username'],$cfgArray['config']['password'],$cfgArray['config']['database']); } else {