[aklug] Re: Mysql connection problem

From: barsalou <barjunk@attglobal.net>
Date: Thu Apr 10 2008 - 14:04:05 AKDT

My first thought (although probably wrong) is that there is a rights issue.

You should become the web user and see if the tests still work.

I would think there might be more info in the logs too...or turn up the
verbosity to see if something else pops out.

Anyone else with ideas?

Mike B.

Quoting Deepan <codeshepherd@gmail.com>:

> 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.
>

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

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