Re: Re: seg fault when using mysql with php
| From: | epplestun | Date: | Tue, 02 Sep 2003 07:50:13 +0000 |
| Subject: | Re: Re: seg fault when using mysql with php | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3779@lists.php.net to get a copy of this message | ||
Sorry, but this message is not of this list, ask in the general list please.
----- Original Message -----
From: "Charles McLaughlin" <cmclaughlin@ucdavis.edu>
To: "Arnd Vehling" <av@nethead.de>
Cc: <php-gtk-general@lists.php.net>
Sent: Tuesday, September 02, 2003 8:49 AM
Subject: Re: [PHP-GTK] Re: seg fault when using mysql with php
> Yep... I can connect to the database using the mysql client at the
> console. Maybe I'll install a new php from scratch or downgrade to the
> version in debian testing.
>
> THanks!
>
> Charles
>
>
> On Tue, 2003-09-02 at 01:32, Arnd Vehling wrote:
> > Hi,
> >
> > Charles McLaughlin wrote:
> > > My script chokes on this line:
> > >
> > > $link = mysql_connect('localhost', 'root', '');
> >
> > I am using "debian testing" and mysql_connect works. I am using
> > the latest stable binary distribution of mysql and a source
> > installation of php-4.3.2 with cgi disabled.
> >
> > Does "mysql -uroot -p" work? Can u connect using the maschine name
> > instead of localhost?
> >
> > Instead of debugging the core file i would just try to make a new
> > installation of php and if this isnt enough a new installation of
> > the mysql libs.
> >
> > regards,
> >
> > Arnd
> >
> >
> >
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>