List:German« Previous MessageNext Message »
From:Marcus Franke Date:December 2 2004 11:00am
Subject:AW: Can't connect to local MySQL server through socket
View as plain text  
> /var/log/mysql/mysql.err:
> 041202 00:25:29  Error at /etc/init.d/mysql\n/usr/bin/mysqladmin:

Die Zeile sieht schon ein wenig komisch aus, hast du eventuell nen
Fehler im startscript?



> -----Ursprüngliche Nachricht-----
> Von: Thomas Goik [mailto:Thomas.Goik@stripped]
> Gesendet: Donnerstag, 2. Dezember 2004 00:40
> An: Mysql Liste
> Betreff: Can't connect to local MySQL server through socket
> 
> Hallo,
> 
> nach einem Update unseres Servers
> 
> ./configure --prefix=/usr/ --enable-assembler
> --with-mysqld-ldflags=-all-static --with-mysqld-user=mysql
> --with-unix-socket-path=/var/run/mysqld/mysqld.sock --
> sysconfdir=/etc/mysql/
> --localstatedir=/var
> /usr/src/mysql-4.1.7/make
> /usr/src/mysql-4.1.7/make install
> 
> Jetzt läuft er Server zwar noch, aber bei einem /etc/init.d/mysql restart
> Gibt er folgenden Fehler aus!
> 
> /var/log/mysql/mysql.err:
> 041202 00:25:29  Error at /etc/init.d/mysql\n/usr/bin/mysqladmin: connect
> to
> server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)'
> Check that mysqld is running and that the socket:
> '/var/run/mysqld/mysqld.sock' exists!
> 
> s-esl4:~# mysqladmin version
> mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)'
> Check that mysqld is running and that the socket:
> '/var/run/mysqld/mysqld.sock' exists!
> 
> s-esl4:~# ps xa | grep mysqld
> 14861 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe
> 14897 ?        S      1:23 /usr//libexec/mysqld --basedir=/usr
> --datadir=/var/lib/mysql --user=mysql --pid-
> file=/var/run/mysqld/mysqld.pid
> --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
> 14898 ?        S      1:37 /usr//libexec/mysqld --basedir=/usr
> --datadir=/var/lib/mysql --user=mysql --pid-
> file=/var/run/mysqld/mysqld.pid
> --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
> 14899 ?        S     11:53 /usr//libexec/mysqld --basedir=/usr
> --datadir=/var/lib/mysql --user=mysql --pid-
> file=/var/run/mysqld/mysqld.pid
> --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
>  8710 ?        R      0:00 /usr//libexec/mysqld --basedir=/usr
> --datadir=/var/lib/mysql --user=mysql --pid-
> file=/var/run/mysqld/mysqld.pid
> --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
>  8711 ?        R      0:00 /usr//libexec/mysqld --basedir=/usr
> --datadir=/var/lib/mysql --user=mysql --pid-
> file=/var/run/mysqld/mysqld.pid
> --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
>  8712 ?        R      0:00 /usr//libexec/mysqld --basedir=/usr
> --datadir=/var/lib/mysql --user=mysql --pid-
> file=/var/run/mysqld/mysqld.pid
> --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
> 
> 
> Wir bekomme wir den socket wieder ?!
> 
> 
> 
> Mit freundlichen Grüssen
>     Thomas Goik
> 
> ------------------------
> http://www.echtwahr.de
> http://www.echtwahr.com
> 
> 
> 
> 
> --
> Deutsche MySQL Mailingliste
> Listenarchive: http://lists.mysql.com/mysql-de
> Abbestellen (unsubscribe): http://lists.mysql.com/mysql-
> de?unsub=mfranke@stripped
Thread
Can't connect to local MySQL server through socketThomas Goik2 Dec
  • Re: Can't connect to local MySQL server through socketSebastian Mendel2 Dec
AW: Can't connect to local MySQL server through socketMarcus Franke2 Dec
Re: Can't connect to local MySQL server through socketSebastian Mendel2 Dec