mysql_connect and PHP 5.0
| From: | Michael Marold | Date: | Tue, 03 Aug 2004 21:29:07 +0000 |
| Subject: | mysql_connect and PHP 5.0 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-192672@lists.php.net to get a copy of this message | ||
I've installed MySQL 5.0 with Apache 2.0.50.
Before, I had running MySQL 4.3.3 and 2.0.47 and a Picturegalerie. After
migrating to 5.0 i get this error:
Call to undefined function mysql_connect() in
D:\kreiszner\galerie\includes\db_mysql.php on line 39
This is line 39 and 40:
if (!$this->connection = $connect_handle($db_host, $db_user, $db_password))
{
$this->error("Could not connect to the database server ($db_host,
$db_user).", 1);
}
Whats wrong????
Kind regards mike
_________________________________________________
I C S N E T W O R K S
internet....communication....security....networks
_________________________________________________
System Manager & Webdesigner
Ing. Michael Marold
Rudolf - Zellerg. 51/1/6
1230 Wien
_________________________________________________
Telefon: +43 1 888 59 66
Mobil: +43 664 / 534 02 02
_________________________________________________
e-mail: office@icsnetworks.at
web: www.icsnetworks.at <http://www.icsnetworks.at/>
_________________________________________________