[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problemy z mysql (brak mysqld.sock)



podczas uruchamiania mysqla pojawia sie w/w komunikat:

# /etc/init.d/mysql start
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/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!

w syslogu mam co następuje:
 mysqld_safe[2664]: started
 mysqld[2668]: 060410 18:27:52 /usr/sbin/mysqld: unknown variable
'expire-logs-days=20'
 mysqld[2668]:
 mysqld_safe[2670]: ended
 /etc/init.d/mysql[2733]: 0 processes alive and '/usr/bin/mysqladmin
--defaults-file=/etc/mysql/debian.cnf ping' resulted in
 /etc/init.d/mysql[2733]: ^G/usr/bin/mysqladmin: connect to server at
'localhost' failed
 /etc/init.d/mysql[2733]: error: 'Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (2)'
 /etc/init.d/mysql[2733]: Check that mysqld is running and that the
socket: '/var/run/mysqld/mysqld.sock' exists!
 /etc/init.d/mysql[2733]:

mysqld.sock brak w ponizszej lokalizacji w /tmp tez go nie ma
probowalem przeinstalowac myslq-server ale nic to nie dalo
problem moze byc w tym, ze dzis wymienialem dysk i zrobiłem clone hdd
bo poprzedni juz dogorywal (Drive Seek Error i inne komunikaty w
dmesg)

w jaki sposob uruchomić mysqla tak, żeby ruszył moze trzeba coś
jeszcze reinstalowac?  ...

macie jakies pomysly?

--
pozdrawiam
mr.bartek

Reply to: