ID:               46895
 Updated by:       j...@php.net
 Reported By:      blue_s_k at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         MySQL related
 Operating System: Windows2003
 PHP Version:      5.2.8
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #46842


Previous Comments:
------------------------------------------------------------------------

[2008-12-18 08:15:00] blue_s_k at hotmail dot com

Description:
------------
PHP has encountered an Access Violation at 0380AC5A



Installed new MYSQL 5.1

Could not connect with PHP4.9 , said upgrade client 

I upgraded the php 5.2.5 - got access violation

I upgraded the php 5.2.8 - got access violation 


Windows 2003/ISAPI
PHP 5.2.8 (php info works) fine
MYSQL 5.1, PORT SETTING 3306, Can connect with credentials 
           Using command line/gui interface to the db

Just having trouble connecting via php to mysql db


Reproduce code:
---------------
<?php 


echo "<p>Creating connection to the database: ";
if(!($conn = mysql_connect('localhost', 'test', 'test'))) {
  echo "<span class='notok'>Failed!</span></p><p>Please check the
database login details and try again.</p>";
  echo $pageFooter;
  exit;
 } else {
  echo "<span class='ok'> OK!</span></p>";
}
?>

Expected result:
----------------
Connected 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46895&edit=1

Reply via email to