php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5959 Call to unsupported or undefined function mysql_connect()
Submitted: 2000-08-04 12:31 UTC Modified: 2000-08-04 12:49 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:31 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>";
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-04 12:37 UTC] stas@php.net
You need to build PHP with MySQL support.
 [2000-08-04 12:48 UTC] ndminh at ifi dot edu dot vn
but i installed PHP 4.0.0 with --with-mysql=
i followed exactely the manual
 [2000-08-04 12:49 UTC] ndminh at ifi dot edu dot vn
but i installed PHP 4.0.0 with --with-mysql=
i followed exactely the manual
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 11:00:01 2026 UTC