Re: Re: seg fault when using mysql with php
| From: | Charles McLaughlin | Date: | Tue, 02 Sep 2003 06:49:43 +0000 |
| Subject: | Re: Re: seg fault when using mysql with php | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3777@lists.php.net to get a copy of this message | ||
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
>
>
>