note 11583 added to mysql_connect
| From: | micha at sitehost dot nl | Date: | Mon, 26 Feb 2001 10:57:15 +0000 |
| Subject: | note 11583 added to mysql_connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11603@lists.php.net to get a copy of this message | ||
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.
http://www.php.net/manual/en/function.mysql-connect.php