Re: PHP cannot access mySQL

From: Date: Fri, 02 Nov 2007 17:05:55 +0000
Subject: Re: PHP cannot access mySQL
Groups: php.db 
Request: Send a blank email to php-db+get-44308@lists.php.net to get a copy of this message
Is Mysql configured in PHP to be usable? Just having both installed isn't enough, there is configuration to 'enable' mysql. Try this link: http://www.php.net/manual/en/ref.mysql.php Based on the fact that it is saying mysql_connect() is undefined, I'd say that mysql functions aren't enabled/configured. Aaron ----- Original Message ---- From: Nhan <le.nhan@freenet.de> To: php-db@lists.php.net Sent: Friday, November 2, 2007 5:04:03 AM Subject: Re: [PHP-DB] PHP cannot access mySQL OK, now I have the errormessage: Fatal error: Call to undefined function mysql_connect() Why? "Chris" <dmagick@gmail.com> wrote in message news:472A62EE.4070204@gmail.com... > Nhan wrote: >> Hi, >> I have IIS 5.1 with PHP 5 and MySQL 4.1 >> With a client tool (such as MySQL Front) I can access MySQL. But my PHP >> page cannot, with the same username and passord. >> Why? What can I do? > > What is the error message? > > -- > Postgresql & php tutorials > http://www.designmagick..com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#44308) next »