MySQL Reusing/Cached Connection Problem

Posted by: scoopseven 15 years, 10 months ago

Problem with connecting to multiple databases within the same server is that every time you do: mysql_connect(host, username, passwd); it will reuse 'Resource id' for every connection, which means you will end with only one connection reference to avoid that do: mysql_connect(host, username, passwd, true); keeps all connections separate.

Currently unrated


Recent Tweets

Recent Posts

Archive

2013
2012
2011
2010
2009
2008
2007
2006

Categories

Authors

Feeds

RSS / Atom