Freddy
I don't know if this helps, but I had a similar error
when trying to connect to mysql via a C program. The
solution was to specify the "/tmp/mysql.sock" string
directly in the code rather than leaving it as a null
string (""). The version shown below works in my code
:-
p_connection = mysql_real_connect(&mysql,
"",
"webuser",
"mywebuser",
DBname,
0,
*this was the problem when it
was set to null "" ----------> "/tmp/mysql.sock",
0);
Hope that helps in some way.
-----Original Message-----
From: Tello, Fredy Ramiro [mailto:F.TE...@CGIAR.ORG]
Sent: Tuesday, January 30, 2001 8:27 AM
To: 'plus...@lists.mysql.com'
Subject: Problem running my programs!
Importance: High
Hi, I try to run my programs but I have a message of
error when I do it.
The message is:
"Can't connect to local MySQL server through soccket
/tmp/mysql.sock (111)"
Can anybody help me??
Thanks, regards
Freddy Ramiro Tello Delgado
Sistemas de Información
CIAT.