[aklug] Re: Mysql connection problem

From: Neil Moomey <neil@neilmoomey.com>
Date: Thu Apr 10 2008 - 14:26:30 AKDT

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.
Received on Thu Apr 10 14:02:13 2008

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