Check for /etc/my.cnf or .my.cnf in mysql's var directory.
One of these must have a line misdefining the socket as mysqld.sock.

Chad Nantais wrote:

>> Description: on start, MySQL creates a socket (mysqld.sock), in the /tmp directory 
>by default, and tries to start 
> 
> by opening socket mysql.sock.  this might be a configuration error.  the
> following fix worked.
>         
> 
>> How-To-Repeat:
> 
>         try to start mysql by running ./safe_mysqld
> 
>> Fix:
> 
>         open /etc/my.cnf and change: socket=/tmp/mysqld.sock
> to this: socket=/tmp/mysql.sock
> 
> 
>> Submitter-Id:  <submitter ID>
>> Originator:    Rednaxel
>> Organization:
> 
>  <organization of PR author (multiple lines)>
> 
>> MySQL support: [none | licence | email support | extended email support ]
>> Synopsis:      <synopsis of the problem (one line)>
>> Severity:      <[ non-critical | serious | critical ] (one line)>
>> Priority:      <[ low | medium | high ] (one line)>
>> Category:      mysql
>> Class:         <[ sw-bug | doc-bug | change-request | support ] (one line)>
>> Release:       mysql-3.23.37 (Source distribution)
> 
> 
>> Environment:
> 
>         <machine, os, target, libraries (multiple lines)>
> System: Linux tribewave.com 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000
> i586 unknown
> Architecture: i586
> 
> Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
> /usr/bin/cc
> GCC: Reading specs from
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> Compilation info: CC='gcc'  CFLAGS=''  CXX='c++'  CXXFLAGS='' 
> LDFLAGS=''
> LIBC: 
> lrwxrwxrwx    1 root     root           13 Apr 30 09:49 /lib/libc.so.6
> -> libc-2.1.3.so
> -rwxr-xr-x    1 root     root      4101324 Feb 29  2000
> /lib/libc-2.1.3.so
> -rw-r--r--    1 root     root     20272704 Feb 29  2000 /usr/lib/libc.a
> -rw-r--r--    1 root     root          178 Feb 29  2000 /usr/lib/libc.so
> lrwxrwxrwx    1 root     root           19 May  1 07:37
> /usr/lib/libc-client.a -> /usr/lib/c-client.a
> Configure command: ./configure  --prefix=/usr/local/mysql
> Perl: This is perl, version 5.005_03 built for i386-linux
> 
> 
> ---------------------------------------------------------------------
> 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


-- 
Gerald L. Clark
[EMAIL PROTECTED]


---------------------------------------------------------------------
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

Reply via email to