From: blue_s_k at hotmail dot com
Operating system: Windows2003
PHP version: 5.2.8
PHP Bug Type: MySQL related
Bug description: Access Violation 0380AC5A
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 bug report at http://bugs.php.net/?id=46895&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=46895&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=46895&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=46895&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=46895&r=fixedcvs
Fixed in CVS and need be documented:
http://bugs.php.net/fix.php?id=46895&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=46895&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=46895&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=46895&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=46895&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=46895&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=46895&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=46895&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=46895&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=46895&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46895&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46895&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=46895&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=46895&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=46895&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=46895&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=46895&r=mysqlcfg