This can be determined that there are new privileges that are added to the in the MYSQL database. Because of this people want to upgrade to the latest version of MYSQL. So the utility that are available for upgrading might result in complete or partial loss of data from the tables. So in such a situation it becomes necessary to have backup available or it may fails to restore the data that are lost.
This might happen that after the completion of upgradation you may discover that some of your important table may get corrupted. And when you try to open those tables then you may encounter some error messages:
“e-systemusr/local/mysql/bin# ./myisamchk -a
/usr/local/mysql/var/centralf/postscobe1.MYI
myisamchk: error: 138 when opening MyISAM-table
‘/usr/local/mysql/var/centralf/postscobe1.MYI’
e-systemusr/local/mysql/bin#…….”
In these entire situations the data that were saved in MYSQL tables get inaccessible after the error message has occurred. The cause behind the corruption may be improper or interrupted upgradation of MYSQL database. These problems can be solved with Mysql repair database but in order to repair the corrupted MYSQL tables and access their data you will be required to follow some important steps:
- At first use “Repair Table TableName USE_FRM” commands to check and analyze the corruption in the table.
- Then check Table tablename
- Next run “Repair Table TableName USE_FRM” to repair Mysql tables
- Repair Table tablename.
If all these steps fall short then you will have to repair the corrupted tables, then you will have to use advanced MYSQL Repair tools. The availability of the Mysql repair database incorporates high end scanning methods to complete repair and restore the data that were stored in MYSQL tables.
