Re: General Mysql Connect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> 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);
> }
>
It's possible, but seems unlikely because the problem only comes up
periodically, not deterministically.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux