php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9455 Call to undefined function: mysql_connect()
Submitted: 2001-02-26 06:15 UTC Modified: 2001-04-25 23:59 UTC
From: micha at sitehost dot nl Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.4pl1 OS: Linux RedHat 7.0 (kernel 2.2.16-
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: micha at sitehost dot nl
New email:
PHP Version: OS:

 

 [2001-02-26 06:15 UTC] micha at sitehost dot nl
I did update my Linux RedHat from 6.2 to 7.0. After this PHP couldn't connect to MySQL. 

After this I did update PHP and MySQL to the following versions: 
MySQL-3.23.24-1 
mysql-3.23.32-1.7 
MySQL-client-3.23.24-1 
mysqlclient9-3.23.22-3 
MySQL-devel-3.23.24-1 
mysql-devel-3.23.32-1.7 
mysql-server-3.23.32-1.7 
MySQL-shared-3.23.24-1 
php-4.0.4pl1-3 

When I try to get data out of the MySQL database I get the error: Fatal error: Call to undefined function: mysql_connect() in /opt/homes/shbeheer/HTML/klantoverzicht.php on line 3 
This line 3 contains : mysql_connect("localhost","username","password"); 

Please help me with this problem, thanx.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-26 06:30 UTC] micha at sitehost dot nl
I did install PHP --with-mysql.
 [2001-04-25 23:59 UTC] cardinal@php.net
Closing, this is most likely an issue with the installation, and not a PHP bug.

For help identifying the problem, consider one of the PHP mailing lists, or the #php channel on irc.php.net
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 04 23:01:33 2025 UTC