Pages : 1
#1 Le 17/07/2012, à 07:36
- infojava
URGENR - Mysql socket error 2002
Bonjour,
Ubuntu 10.04.3 LTS
j'ai mysql 5.1 qui fonctionnait normalement et je l'utilise pour gérer un site web en production,
actuellement les bases de données sont inaccessibles, et quand je fais
service mysql status
mysql start/running
mais quand j'essaye
> mysql
Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
en effet sous /var/run/mysqld/ il'y a rien, aucun fichier !!!
comment faire pour corriger cette erreur ?
Merci ?
Dernière modification par infojava (Le 17/07/2012, à 08:13)
Hors ligne
#2 Le 17/07/2012, à 08:39
- infojava
Re : URGENR - Mysql socket error 2002
Voilà ce que j'ai trouvé sur le log :
120716 16:49:28 [Note] Plugin 'FEDERATED' is disabled.
^G/usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
120716 16:49:28 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
120716 16:49:28 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Warning: database page corruption or a failed
InnoDB: file read of page 1573.
InnoDB: Trying to recover it from the doublewrite buffer.
InnoDB: Dump of the page:
120716 16:49:28 InnoDB: Page dump in ascii and hex (16384 bytes):
Hors ligne
Pages : 1