Simon Billis wrote: > Edit /etc/httpd/php.ini > > find the section below and uncomment extension=mysql.so > > ;UNIX Extensions > ;extension=pgsql.so > extension=mysql.so > ;extension=imap.so > > That should do it. > :-) > Cheers > Simon > > On Monday, March 11, 2002 9:21 pm, David Keyes <[EMAIL PROTECTED]> wrote: > > > >Hi, > > > >I have a qube3 and I am trying to connect to the mysql database using > >mysql_connect from php. I get the 'undefined function: mysql_connect() > >' message. I edited the extention=mysql.so line in /etc/httpd/php.ini > >, re-booted and still I get the undefined function. > > > >Any ideas on what else I should do ? > > > >David Keyes > > > >_______________________________________________ > >cobalt-developers mailing list > >[EMAIL PROTECTED] > >http://list.cobalt.com/mailman/listinfo/cobalt-developers > > > > _______________________________________________ > cobalt-developers mailing list > [EMAIL PROTECTED]
> > http://list.cobalt.com/mailman/listinfo/cobalt-developers Did that already - now I get : Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) David _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers