[TYPO3-dev] Help needed with DBAL

Georg Ringer mail-spam at ringerge.org
Thu Mar 8 19:13:21 CET 2007


Thanks Matthias,

Mathias Behrle wrote:
> At first glance:
> Did you omit the credentials in the config array or did you miss them?
> username, host, port, password, database...

NOW it is working and the working solution is

$TYPO3_CONF_VARS['EXTCONF']['dbal']['handlerCfg'] = array (
         '_DEFAULT' => array (
             'type' => 'native',
             'config' => array(
                 'driver' => 'mysql',
                 "host" => "localhost",
                 "database" => "t3beta",
                 "username" => "root",
                 "password" => "",
             )
         )
);

$TYPO3_CONF_VARS['EXTCONF']['dbal']['mapping'] = array (
         'fe_users' => array (
             'mapTableName' => 'fe_users',
              'mapFieldNames' =>  array (

                 'lng' => 'username',
                 )

         )

     );

==========

georg




More information about the TYPO3-dev mailing list