[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] mysql_connect
- Subject: Re: [cobalt-developers] mysql_connect
- From: David Keyes <dave@xxxxxxxxxxxxxxx>
- Date: Mon Mar 11 06:57:59 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
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 <dave@xxxxxxxxxxxxxxx> 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
> >cobalt-developers@xxxxxxxxxxxxxxx
> >http://list.cobalt.com/mailman/listinfo/cobalt-developers
> >
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
>
> 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