[TYPO3] setDBinit
Dmitry Dulepov [typo3]
dmitry at typo3.org
Thu Sep 4 20:17:35 CEST 2008
Hi!
Lamb, Brian wrote:
> Can I only set one option in this statement?
>
> Works - $TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET SESSION
> sql_mode=MYSQL40;'
>
> Works - $TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8;';
>
> Does not work $TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET SESSION
> sql_mode=MYSQL40; SET NAMES utf8;';
>
> I tried setting these in the database themselves but that did not help.
Please, read the description of setDBinit and see what you did wrong.
--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/
More information about the TYPO3-english
mailing list