Dennis,
do a find / -name mysql.sock 2>/dev/null to find exactly where mysql puts
this file.. My rpm install put it in
/var/lib/mysql/mysql.sock
Find where your mysql.sock file is and make a symbolic on it pointing to
/tmp/mysql.sock
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
Also check your file permissions. Make sure the mysqld user has access to
this directory.
Chad
-----Original Message-----
From: Dennis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 3:56 PM
To: [EMAIL PROTECTED]
Subject: mysql.sock file
We have a client program that fails trying to access tmp/mysql.sock on
open. It seems that newer servers either dont create the tmp file or store
it somewhere else.
What can be done to make the existing binary work with both older and newer
servers? Is there a my.cnf setting? And also, why has this become an issue?
Can it be a build issue with the server? Or is this file being scrubbed by
some startup routine (Debian is well-known to do damage upon start up this
way)?
thanks.
Dennis
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php