No there is a mysql_pconnect.
It's likely that you haven't installed a PHP-MySQL module or it isn't
included in /etc/php.ini.
----
Ben Kennish
email | [EMAIL PROTECTED]
----- Original Message -----
From: "Tim Sellar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 5:39 PM
Subject: RE: php and mysql
> 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
>