[Cialug] Mysql connection problem

Matthew Nuzum newz at bearfruit.org
Thu Apr 10 16:58:56 CDT 2008


Try setting the host for your mysql connection to either localhost or
if that yields the same problem then to 127.0.0.1.

On Thu, Apr 10, 2008 at 4:09 PM, Deepan <codeshepherd at gmail.com> wrote:
> 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/
>
>
>  _______________________________________________
>  Cialug mailing list
>  Cialug at cialug.org
>  http://cialug.org/mailman/listinfo/cialug
>



-- 
Matthew Nuzum
newz2000 on freenode


More information about the Cialug mailing list