Bug #11495 Updated: error: Mysql_connect() doesn't exist.

From: Date: Fri, 15 Jun 2001 00:12:20 +0000
Subject: Bug #11495 Updated: error: Mysql_connect() doesn't exist.
Groups: php.dev 
Request: Send a blank email to php-dev+get-57131@lists.php.net to get a copy of this message
ID: 11495 Updated by: sniper Reported By: jonathonfitch@hotmail.com Old-Status: Open Status: Bogus Old-Bug Type: *General Issues Bug Type: MySQL related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Your system must be severely fucked up because in the precompiled binaries provided at php.net the mysql support is builtin..ie. you can NOT be without mysql_connect().. Follow the instructions given in install.txt and all should be fine. Anyway, this is NOT a bug in PHP but you have done something wrong. Previous Comments: --------------------------------------------------------------------------- [2001-06-14 17:05:48] jonathonfitch@hotmail.com This is the error I'm getting: Fatal error: Call to unsupported or undefined function mysql_connect() in C:Inetpubwwwroottest.php3 on line 3 This is the script: <? $link = mysql_connect ("localhost", "username", "secret") or die ("Could not connect"); print ("Connected successfully"); mysql_close ($link); ?> I've tried both PHP 3 and PHP 4, both give me this error.... --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11495&edit=2

« previous php.dev (#57131) next »