[Typo3-dev] adodb - losing connection to TYPO3_DB
Dmitry Dulepov
typo3 at fm-world.ru
Mon Oct 3 07:37:17 CEST 2005
Hi!
Thomas Murphy wrote:
> I'm using adodb in one of my extensions to access data from a foreign
> mySQL-DB. After I successfully connected to it, it seems the Connection
> to the TYPO3_DB is lost - it then tries to connect to the TYPO3_DB with
> the data (username/password) I used for the foreign mySQL-DB. (!)
> ("Access denied for user...")
This is not related to ADODB but rather to usage of the obsolete PHP
function named "mysql()" in Typo3 (probably, not in typo3 core but in
extensions). This function will use the last opened connection. As soon
as you connect to the external database, everything stops working...
I fall into the same problem two moths ago (asked about it here too).
The only workaround is to re-open connection to the typo3 database.
Dmitry.
More information about the TYPO3-dev
mailing list