php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5961 Call to unsupported or undefined function mysql_connect()
Submitted: 2000-08-04 12:52 UTC Modified: 2000-08-04 12:57 UTC
From: ndminh at ifi dot edu dot vn Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.0 OS: Linux RedHat
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ndminh at ifi dot edu dot vn
New email:
PHP Version: OS:

 

 [2000-08-04 12:52 UTC] ndminh at ifi dot edu dot vn
<?php
echo "<html>";
echo "PHP Exemple";
$link = mysql_connect ("laos", "nnhoa", "nnhoa") {
	or die ("Could not connect");
} 
print ("Connected successfully");
mysql_close ($link);
echo "</html>";
?>


I have installed PHP 4.0.0 with --with-mysql=
I have followed exactely the manual

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-04 12:57 UTC] rasmus@php.net
You didn't install it right.  Please direct your questions about this to php-install@lists.php.net as this is certainly not a bug.  MySQL support works fine.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 16:00:02 2026 UTC