Hi, Well I had the same "problem" when I installed Mysql the first time.
I solved this problem by using a symbolic link like this. cd /tmp ln -s /mysql/mysql.sock mysql.sock Remeber to be Root when you do a symbolic link :-) Now make a ls -lia in your /tmp folder, then you should have something similar to this: 228713 lrwxrwxrwx 1 root root 17 feb 22 15:28 mysql.sock -> /mysql/mysql.sock Now you should be able to start your Mysql database... :-) Regards Frank ----- Original Message ----- From: "Ferrell-1, Eman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 10:14 PM Subject: can't find /tmp/mysql.sock > Please help. I downloaded the binary distribution for > mysql-3.23.55-pc-linux-i686 to run on redhat linux 8.0 > > I've done the following commands: > > shell>> cd /usr/local > shell>> gunzip < /downloads/mysql-3.23.55-pc-linux-i686.tar.gz | tar xvf - > shell>> groupadd mysql > shell>> useradd -g mysql mysql > shell>> ln -s mysql-3.23.55-pc-linux-i686 mysql > shell>> cd /usr/local/mysql > shell>> scripts/mysql_install_db > shell>> bin/safe_mysqld& > > when I do this this is what I get: > starting mysql with databases from /var/lib/mysql > 030228 16:00:55 mysqld ended > > Also when I do the following: > > shell>> ./mysqladmin ping > > I get the error message: > ./mysqladmin: connect to server at 'localhost' failed > error: 'can't connect to local MySQL server through socket '/tmp/mysql.sock' > (2)' > check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! > > When I ran: > > shell>> ./mysqlbug > > I got the following dialogue: > > >Description: > <Getting the following error: "ERROR 2002 can't connect to local > MySQL server through socket /tmp/mysql.sock" > > the sql daemon (mysqld) can't start. I think it's because it can't find the > /tmp/mysql.sock file This file doesn't exist. It's not located anywhere on > the system. Please tell me where to get this file. thanks.> > >How-To-Repeat: > <code/input/activities to reproduce the problem (multiple lines)> > >Fix: > <how to correct or work around the problem, if known (multiple > lines)> > > >Submitter-Id: <submitter ID> > >Originator: root > >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.55-max (Official MySQL-max binary) > > >Environment: > <machine, os, target, libraries (multiple lines)> > System: Linux webserv.ksc.nasa.gov 2.4.18-24.8.0 #1 Fri Jan 31 06:51:30 EST > 2003 i686 i686 i386 GNU/Linux > Architecture: i686 > > 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/3.2/specs > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --enable-shared --enable-threads=posix > --disable-checking --host=i386-redhat-linux --with-system-zlib > --enable-__cxa_atexit > Thread model: posix > gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) > Compilation info: CC='gcc' CFLAGS='-O2 -mcpu=pentiumpro' CXX='gcc' > CXXFLAGS='-O2 -mcpu=pentiumpro -felide-constructors' LDFLAGS='' > LIBC: > lrwxrwxrwx 1 root root 14 Jan 2 10:31 /lib/libc.so.6 -> > libc-2.2.93.so > -rwxr-xr-x 1 root root 1235468 Sep 5 19:12 /lib/libc-2.2.93.so > -rw-r--r-- 1 root root 2233342 Sep 5 18:59 /usr/lib/libc.a > -rw-r--r-- 1 root root 178 Sep 5 18:50 /usr/lib/libc.so > Configure command: ./configure '--prefix=/usr/local/mysql' > '--with-comment=Official MySQL-max binary' '--with-extra-charsets=complex' > '--with-server-suffix=-max' '--enable-thread-safe-client' > '--enable-local-infile' '--enable-assembler' '--disable-shared' > '--with-berkeley-db' '--with-client-ldflags=-all-static' > '--with-mysqld-ldflags=-all-static' '--with-innodb' 'CFLAGS=-O2 > -mcpu=pentiumpro' 'CXXFLAGS=-O2 -mcpu=pentiumpro -felide-constructors' > 'CXX=gcc' > > > > > So where do I get this /tmp/mysql.sock file? any help would be appreciated. > thanks. > Ema Ferrell > > Communications Services Branch > TA-B2 > 321-861-2198 (Phone #) > 321-232-5339 (Beeper #) > email: [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 > --------------------------------------------------------------------- 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