Mysql nao INICIA

1. Mysql nao INICIA

pedro
pedroalmeida1

(usa Outra)

Enviado em 01/09/2010 - 13:33h

Tenho um servidor mysql e do nada ele parou de funcionar.

No /var/log/syslog/

Sep 1 13:32:41 localhost mysqld_safe[4662]: started
Sep 1 13:32:41 localhost mysqld[4665]: 100901 13:32:41 InnoDB: Started; log sequence number 0 938924
Sep 1 13:32:41 localhost mysqld[4665]: 100901 13:32:41 [Note] Recovering after a crash using /var/log/mysql/mysql-bin
Sep 1 13:32:41 localhost mysqld[4665]: 100901 13:32:41 [Note] Starting crash recovery...
Sep 1 13:32:41 localhost mysqld[4665]: 100901 13:32:41 [Note] Crash recovery finished.
Sep 1 13:32:41 localhost mysqld[4665]: 100901 13:32:41 [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect file format 'db'
Sep 1 13:32:41 localhost mysqld_safe[4676]: ended
Sep 1 13:32:55 localhost /etc/init.d/mysql[4811]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Sep 1 13:32:55 localhost /etc/init.d/mysql[4811]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Sep 1 13:32:55 localhost /etc/init.d/mysql[4811]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Sep 1 13:32:55 localhost /etc/init.d/mysql[4811]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Sep 1 13:32:55 localhost /etc/init.d/mysql[4811]:



  


2. Tenta

Osama Jr.
/bin/laden

(usa Void Linux)

Enviado em 01/09/2010 - 14:50h

myisamchk -re /var/lib/mysql/mysql/db*.MYI

E depois tenta reiniciar o daemon do mysql.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts