|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-12-18 11:39 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 10:00:01 2025 UTC |
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