[Typo3-dev] SQL wrapper functions
media.res | alex widschwendter
a.widschwendter at mediares.at
Wed Nov 3 17:54:14 CET 2004
hi,
> I'm still confused. I even created another instance of t3lib_db to use to
> connect my other database, and there are still the same warnings (Warning:
> mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
> in D:\TYPO3\dummy-3.7.0\t3lib\class.t3lib_db.php on line 723) And I see the
> same warnings like Table '<my_dbase>.cache_hash' doesn't exist - there still
> seems to be a cross over problem between 2 databases...??
do you use different username and password to connect to the 2nd
database on the same host? if not it is not possible!
if the user you connect to the T3 database, has all needed rights for
the 2nd database you can use the same link and change your sql to
something like.
select * from <your_db>.your_table;
hth alex
More information about the TYPO3-dev
mailing list