Error in MySQL Log

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,643
Location
A Coruña, Spain
I've a problem with mysql...

In the log say that a file nuke_session.MYI does not exist...

How i can repair all databases with ssh command?

Thanks
 
If a table has disppeared then you need to restore it from backup.

To repair a database best option is to get into the database directory from SSH like following :-

cd /var/lib/mysql/database_name

and give following command :-

myisamchk -o *.MYI

This will optimize your database and correct problems if there are any.
 
Back
Top