Bug #3518: mysql_connect crashes
| From: | yannis at pathfinder dot gr | Date: | Thu, 17 Feb 2000 14:22:32 +0000 |
| Subject: | Bug #3518: mysql_connect crashes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15633@lists.php.net to get a copy of this message | ||
From: yannis@pathfinder.gr
Operating system: Linux 2.2.14
PHP version: 3.0.14
PHP Bug Type: MySQL related
Bug description: mysql_connect crashes
Hello,
I have a php script in which mysql_connect seems to crash.
By saying 'crash' I mean that the execution of the script
is stopped while executing mysql_connect, leaving no chance to catch any exception (using 'or
die()..' for example).
mysql_connect does not return at all.
the same mysql_connect statement has been used many many
times in many many scripts, only in this specific one
I experience the problem.
The other strange thing in this case is that if I press
the "reload" button of the browser, there is a (small)
possibility that the bug will not occure (!?)
I can say that in most times I load the page, I get
mysql_connect crashed, but I believe that which of the
two will happen is random.
I was using php4.0b3. I tried php3.0.14 (I compiled php and apache) but nothing changed.
I have check the 'bad' script again and again and again
but I can't find something that makes it different from
all the others (which work fine!).
I have not logical explanation.. if someone has, please
let me know...
--Yannis Tsakiris
yannis@pathfinder.gr