[thelist] selecting tables from two databases

Michiel Trimpe M.B.Trimpe at student.tue.nl
Thu Apr 25 13:13:00 CDT 2002


That's indeed how you would do it. I read somewhere though (which
isn't a very strange assumption) that the connections are optimized
for the database you connect to. So I'd connect to the database you
use most often.

GL,
  Michiel Trimpe

<snip>
DK> How would the mysql_pconnect and mysql_select_db functions be structured?
DK> I've never seen them with multiple databases.  Or would I simply connect to
DK> one, and assuming the same user privs, be able to cross-connect to another
DK> local db?
</snip>





More information about the thelist mailing list