ID: 44132 Updated by: [EMAIL PROTECTED] Reported By: martin-israel at gmx dot de -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Linux 2.6.23 PHP Version: 5.2CVS-2008-02-15 (CVS) New Comment:
This already was reported and fixed: See Bug#44094 Thanks. Previous Comments: ------------------------------------------------------------------------ [2008-02-15 15:49:40] martin-israel at gmx dot de Description: ------------ Php hangs when the new_link parameter of the function mysql_connect is set to FALSE. Used for example by phpMyAdmin. Sorry I've just tested it with PHP Version 5.2.5_p20080206 (The current latest Gentoo-Version) Reproduce code: --------------- <?php $link = mysql_connect('localhost', 'user', 'password', FALSE); if (!$link) { die('no connection possible: ' . mysql_error()); } echo 'Connected!'; mysql_close($link); ?> Expected result: ---------------- Connected! Actual result: -------------- nothing, because the Server hangs. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44132&edit=1