[gulfrre] Re: Mysql connection problem

  • From: Deepan Chakravarthy <codeshepherd@xxxxxxxxx>
  • To: gulfrre@xxxxxxxxxxxxx
  • Date: Fri, 11 Apr 2008 21:17:39 +0530

Gulfrre Grupo de Usuarios de Linux Facultad Regional Resistencia
----------------------------------------------------------------



TL wrote:
Gulfrre Grupo de Usuarios de Linux Facultad Regional Resistencia
----------------------------------------------------------------



At least you need to attach /var/log/syslog & messages, mysql.conf files.

Hi,
I had fixed the error. I changed the socket name to /var/run/mysql/mysql.sock, in my.cnf.

I could not understand other messages since they were not in english. Thanks for your help guys.
Regards
Deepan

Regards,
----- Original Message ----- From: "Deepan" <codeshepherd@xxxxxxxxx>
To: <gulfrre@xxxxxxxxxxxxx>
Sent: Thursday, April 10, 2008 6:08 PM
Subject: [gulfrre] Mysql connection problem


Gulfrre Grupo de Usuarios de Linux Facultad Regional Resistencia
----------------------------------------------------------------



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/


Para administrar tu cuenta: http://www.freelists.org/list/gulfrre
Para ver mensajes anteriores: http://www.freelists.org/archives/gulfrre
-----------------------------------------------------------------------

Reglas de la Lista

Añadir OT a todos los temas Off Topic
Respetar las Ideas de los miembros
No crear ni continuar con Flames


Para administrar tu cuenta: http://www.freelists.org/list/gulfrre Para ver mensajes anteriores: http://www.freelists.org/archives/gulfrre -----------------------------------------------------------------------

Reglas de la Lista

Añadir OT a todos los temas Off Topic
Respetar las Ideas de los miembros
No crear ni continuar con Flames



--
Deepan
Sudoku Solver http://www.sudoku-solver.net/

Para administrar tu cuenta: http://www.freelists.org/list/gulfrre Para ver mensajes anteriores: http://www.freelists.org/archives/gulfrre -----------------------------------------------------------------------

Reglas de la Lista

Añadir OT a todos los temas Off Topic
Respetar las Ideas de los miembros
No crear ni continuar con Flames

Other related posts: