#33248 [Opn->Bgs]: mysql_select_db is so slow
| From: | derick@php.net | Date: | Sun, 05 Jun 2005 09:34:17 +0000 |
| Subject: | #33248 [Opn->Bgs]: mysql_select_db is so slow | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-79906@lists.php.net to get a copy of this message | ||
ID: 33248
Updated by: derick@php.net
Reported By: homework at aofrozencity dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Windows 2003 Server
PHP Version: 4.3.11
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2005-06-05 11:32:01] homework at aofrozencity dot com
Description:
------------
My webserver computer isn't in the same local with MySQL server
computer. MySQL server computer is at the different building. I wrote
the IP address of the MySQL server in web file on the webserver
computer. I noticed that mysql_select_db downloaded a huge table file
fully (over 10,000 rows) from the MySQL server computer to the
webserver computer for about 20 seconds. After that, finally it started
querying fast. When I refresh the page, mysql_select_db downloaded the
file again for other 20 seconds. I already ping the webserver computer
to the MySQL server computer. It was about 15ms.
source here:
$connect=mysql_pconnect(xxx.xxx.xxx.xxx(IP internet), ..., ...) or
die(mysql_error());
mysql_select_db(..., ...) or die(mysql_error());
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33248&edit=1