mysql problems
| From: | Curtis Maurand | Date: | Wed, 11 May 2011 15:58:50 +0000 |
| Subject: | mysql problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-312759@lists.php.net to get a copy of this message | ||
I'm running PHP 5.3.6, Mysql 5.1.51 and Apache 2.2.17
I have
code that does a simple mysql_query(); the query on the commandline
returns an empty set. when run via PHP and the web server, the page
hangs, it never gets to the if (mysql_num_rows($result) > 0) {}. and
the queries per second on mysql goes from roughly 4 per second to about
12,000.
Does anyone have any ideas?
Thanks,
Curtis