[Typo3-dev] Connecting to a different db kills typo3 db connection?

Dmitry Dulepov typo3 at fm-world.ru
Mon Aug 1 10:55:32 CEST 2005


Hi!

Well, t3lib_db uses 'link' identifier...

I believe the problem lies in old-style calls like:
	$res = mysql(TYPO3_db, $query);

I could not find 'mysql' function definition neither in typo3, nor in
php. What can it be?

Dmitry.

Andreas Otto wrote:
> Hello Dmitry,
> 
> On Sonntag, 31. Juli 2005 22:01, Dmitry Dulepov wrote in typo3.dev:
> 
> 
>>Is this a bug? I am using version 3.7.0 with PHP 4.3.11 and MySQL
>>3.23. Typo3 uses mysql_pconnect.
> 
> 
> AFAIK TYPO3 does not use a link identifier when using the various
> mysql_* functions.
> 
> The default behaviour of PHP is to use the last connection opened by
> mysql_connect [1].
> 
> So I would say it's a bug.
> 
> [1]:<http://www.php.net/manual/en/function.mysql-db-query.php>
> 
> 
> Cheers,
> Andreas
> 




More information about the TYPO3-dev mailing list