|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46895 Access Violation 0380AC5A
Submitted: 2008-12-18 08:15 UTC Modified: 2008-12-18 11:39 UTC
From: blue_s_k at hotmail dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.2.8 OS: Windows2003
Private report: No CVE-ID: None
 [2008-12-18 08:15 UTC] blue_s_k at hotmail dot com
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:

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;
 } else {
  echo "<span class='ok'> OK!</span></p>";

Expected result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-18 11:39 UTC]
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
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 19:01:34 2024 UTC