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

From: Date: Fri, 15 Jun 2001 01:00:40 +0000
Subject: Re: Bug #11495 Updated: error: Mysql_connect() doesn't exist.
Groups: php.dev 
Request: Send a blank email to php-dev+get-56663@lists.php.net to get a copy of this message
ohhh k... if you say so, I'll check it out, but I followed the install directions word for word... so I dunno.
From: Bug Database <php-dev@lists.php.net> To: jonathonfitch@hotmail.com Subject: Bug #11495 Updated: error: Mysql_connect() doesn't exist. Date: 15 Jun 2001 00:12:20 -0000 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 _________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

« previous php.dev (#56663) next »