Re: Mysql Connection

From: Date: Tue, 29 Jan 2002 09:20:40 +0000
Subject: Re: Mysql Connection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-82536@lists.php.net to get a copy of this message
In article <Pine.LNX.4.21.0201291202160.2265- 100000@lantana.iitm.ernet.in>, umashankari@lantana.tenet.res.in says... > > Hello, > > > I have installed php3 in my system.I want to connect with mysql.I have > given this code > > $link=mysql_connect("localhost","username","password") or > die("could not > connect"); > > > but it is giving Fatal error: Call to undefined function: mysql_connect() > > > Why it is showing like......... > > Mysql is also running........ > > > Any one came to know this tell me as soon as possible.... The error message says that the installation of PHP you are using does not have MySQL support enabled/compiled in. If you are on a *nix system, you may need to recompile with mysql support; if on Windows you need to ensure that the mysql module (dll) is being used. -- David Robley Temporary Kiwi!

« previous php.general (#82536) next »