[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • From: ao-lists at php4win.de (Andreas Otto)
  • Date: Mon, 01 Aug 2005 10:29:39 +0200

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

-- 
Say what you mean, simply and directly.
            - The Elements of Programming Style (Kernighan & Plaugher)