At 04:47 PM 05/23/2001, Angerer, Chad wrote:
>Well.. not sure if this is right but if you start up the mysqld server on
>startup the mysql.sock should be created in that directory always, so the
>symbolic link will always point to the same place.
>
>Otherwise.. I believe the directory will be in your my.cnf file.. and you
>can change that to point to the correct path.
>
>I hope I am moving along the right path here.
Ah, does anyone know what the setting in my.cnf would be? That would be ideal.
Dennis
>-C
>
>-----Original Message-----
>From: Dennis [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 23, 2001 3:37 PM
>To: Angerer, Chad; [EMAIL PROTECTED]
>Subject: RE: mysql.sock file
>
>
>At 05:48 PM 05/22/2001, Angerer, Chad wrote:
> >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.
>
>Yes, we've done that, but because the tmp directory may get scrubbed on
>shutdown or boot, it has to be done on each boot. I wondered if I could
>find out whethers its still SUPPOSED to be there, at which point
>permissions would be something to consider.
>
>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