3 messages in com.mysql.lists.plusplusRE: Problem running my programs!
FromSent OnAttachments
Tello, Fredy Ramiro30 Jan 2001 08:26 
Don Thompson30 Jan 2001 11:55 
mike thomas30 Jan 2001 15:06 
Subject:RE: Problem running my programs!
From:mike thomas (mich@worldnet.att.net)
Date:01/30/2001 03:06:55 PM
List:com.mysql.lists.plusplus

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.