Re: [PHP-DB] weird MySQL restart

2002-08-20 Thread Florin Andrei
Ok, the restart of the loop happens after 300 seconds no matter what. Seems to be a timeout, but then why i don't get an error instead of the loop starting all over again? And i don't see anything in php.ini that could be related to that. I upgraded to php-4.1.2 and the problem is still there. O

[PHP-DB] weird MySQL restart

2002-08-19 Thread Florin Andrei
I'm using: - apache-1.3.22 - mysql-3.23.49a - php-4.0.6 - Linux Red Hat 7.2 I have a piece of code that does this: for ($i=0; $i < $brute_queries_max; $i++) { $q = $brute_queries[$i]; $q = "SELECT COUNT(*) " . $q; $res = mysql_query($q) or die("in $host databa