Project

General

Profile

Actions

Feature #17218

closed

Overwritting of handler attributes.

Added by Nikolas Hagelstein over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2007-04-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It would be great to have the opportunity to overwrite/set connection attributes within localconf. E.g:
$TYPO3_CONF_VARS['EXTCONF']['dbal']['handlerCfg'] = array (
'testDB' => array (
'type' => 'adodb',
'config' => array(
'username' => 'xxx',
'password' => 'xxx',
'host' => 'xxx',
'database' => 'demodb',
'driver' => 'mssql',
'nameQuote' => ''
)
)

Note the nameQuote parameter.

(issue imported from #M5452)

Actions #1

Updated by Karsten Dambekalns over 17 years ago

This is targeted at changing the name quote, that can be done in MSSQL setup (see DBAL manual). For all those things remaining that need to be set on a per-connection basis, a DBAL-equivalent of setDBinit will be introduced. Stay tuned.

Actions

Also available in: Atom PDF