Try using 'mysql_connect(localhost, mayesnuke, password);'
I think mysql_pconnect is 'an undefined function'

Tim

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sam Mayes
> Sent: 27 April 2001 16:09
> To: [EMAIL PROTECTED]
> Subject: php and mysql
>
>
>
>  Ok everything is going well except for the funny ssh problem. now, i
> install the php/apache/mysql skeleton you guys released. php
> work, mysql is
> up and working, apache works, now when i try a simple connect to the mysql
> database i get this error
>
> Fatal error: Call to undefined function: mysql_pconnect()
>
>
> and here is the simple code for testing.
>
> <?php
>
>   mysql_pconnect(localhost, mayesnuke, password);
>   @mysql_select_db("mayesnuke") or die ("Unable to select database");
> ?>
>
> its like mysql isnt compiled in php4. Any ideas??
>
>
> Sam

Reply via email to