Hey Mike,
First of all you need to make sure that mysql was compiled into php. 
Create a small test script and place the following code in it.

<?
phpinfo();
?>

This function will tell you a lot of info about your system and the
options installed in your version of php.  You might want to create
this file in a password protected directory if you are worried about
security.

Look through the results of the test script and let us know what
version of PHP you are running and if MySQL is listed as being
installed.

-Jason


On 2/26/06, Hroller McKnutt <[EMAIL PROTECTED]> wrote:
>
>  Hi, I'm just getting started with PHP and MySQL. I installed a package
> the other day to control torrents from a website (Torrentflux) but I'm
> getting an error when I try to start Torrentflux
>
> Fatal error: Call to undefined function mysql_connect() in
> C:\public_html\TF2\html\adodb\drivers\adodb-mysql.inc.php on line 338
>
> Line 338 of that file is the one that starts with $this-> (the fifth one
> down from here:
>
>         // returns true or false
>         function _connect($argHostname, $argUsername, $argPassword,
>         $argDatabasename) {
>                 if (ADODB_PHPVER >= 0x4300)
> (This line)                     $this->_connectionID =
> mysql_connect($argHostname,$argUsername,$argPassword,
>                                                                               
>                   $this->forceNewConnect,$this->clientFlags);
>                 else if (ADODB_PHPVER >= 0x4200)
>                         $this->_connectionID =
>                         mysql_connect($argHostname,$argUsername,$argPassword,
>                                                                               
>                   $this->forceNewConnect);
>                 else
>                         $this->_connectionID =
>                         mysql_connect($argHostname,$argUsername,$argPassword);
>
>                 if ($this->_connectionID === false) return false; if 
> ($argDatabasename)
>                 return $this->SelectDB($argDatabasename); return true;
>         }
>
>  Can anyone help me with this?
>
>  Thanks in advance,
>  Mike
>
>
>
>
> Community email addresses:
>   Post message: [email protected]
>   Subscribe:    [EMAIL PROTECTED]
>   Unsubscribe:  [EMAIL PROTECTED]
>   List owner:   [EMAIL PROTECTED]
>
> Shortcut URL to this page:
>   http://groups.yahoo.com/group/php-list
> Yahoo! Groups Links
>
>
>
>
>
>
>


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to