Re: General Mysql Connect
| From: | Chris | Date: | Wed, 29 Oct 2008 22:21:41 +0000 |
| Subject: | Re: General Mysql Connect | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282590@lists.php.net to get a copy of this message | ||
Waynn Lue wrote:
Yeah, it's the same user, same everything (for now). But I wonder why we're seeing these "lost connection" errors and I'm trying to fix it--this was one of the things I was investigating.Random guess :) You're overwriting a result or connection variable? $query = "select * from db1.table1"; $result = mysql_query($query, $conn1); while ($row = mysql_fetch_assoc($result)) { ... $result = mysql_query("select * from db2.table2", $conn2); } -- Postgresql & php tutorials http://www.designmagick.com/