[aklug] Re: Mysql connection problem

From: William Attwood <wattwood@gmail.com>
Date: Thu Apr 10 2008 - 14:30:07 AKDT

This is correct, however, the CGI version and the Apache version may use
different ini files.
-Will

On Thu, Apr 10, 2008 at 4:22 PM, barsalou <barjunk@attglobal.net> wrote:

> hmmm... I had always thought that the php.ini file was referenced if
> you used php from the command line as well. Is this incorrect?
>
> Mike B.
>
> Quoting Neil Moomey <neil@neilmoomey.com>:
>
> > You may have to change your php.ini file to match the location of your
> > mysql.sock file wherever that is. Different MySQL installations have
> > different locations for it.
> >
> > Neil
> > ----- Original Message -----
> > From: "Deepan" <codeshepherd@gmail.com>
> > To: <aklug@lib.uaa.alaska.edu>
> > Sent: Thursday, April 10, 2008 1:08 PM
> > Subject: [aklug] Mysql connection problem
> >
> >
> >> Hi All,
> >> I am able to connect to Mysql via command line
> >> using mysql client. I am also able to connect to
> >> mysql via php if I run those php programs via
> >> command line. However when I hit those php pages
> >> via the browser it throws the error Can't connect
> >> to local MySQL server through socket
> >> '/tmp/mysql.sock' (2). Please note that this is
> >> the same socket the mysql client tries to connect
> >> to the server.
> >> Regards
> >> Deepan
> >> Sudoku Solver: http://www.sudoku-solver.net/
> >>
> >>
> >> ---------
> >> To unsubscribe, send email to <aklug-request@aklug.org>
> >> with 'unsubscribe' in the message body.
> >>
> >>
> >
> > ---------
> > To unsubscribe, send email to <aklug-request@aklug.org>
> > with 'unsubscribe' in the message body.
> >
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Apr 10 14:30:55 2008

This archive was generated by hypermail 2.1.8 : Thu Apr 10 2008 - 14:30:55 AKDT