[TYPO3-dev] STRICT-mode for MySQL and install tool

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Tue Jan 27 11:30:21 CET 2009


Steffen Kamper schrieb:
> Hi,
> 
> Dmitry Dulepov schrieb:
>> Hi!
>>
>> Steffen Kamper wrote:
>>> btw - MySQL seems to be kind of buggy with STRICT mode anyway. After
>>> removing my dbInit-String for leaving strict mode, MySQL ignored that
>>> and stayed in STRICT. I had to restart MySQL to leave STRICT.
>>
>> You had "global" in the init string. Global means you set it once and 
>> until the restart of MySQL. So not buggy...
>>
> 
> ah ok. I thought that it's for the session only because it's done after 
> the connect, and GLOBAL affects it globally for the session.

Don't mix up PHP/TYPO3 session and Mysql session. For mysql a session 
starts with the connect and ends with it. Note that it doesn't end with 
the PHP script when you allow PHP to use persistent connections.

Masi




More information about the TYPO3-dev mailing list