Custom Search
|
|
Table Corruption In Mysql Database
Consider a practical scenario where you encounter the below error message when you attempt to save some changes in session_data table: “RT couldn't store your session. This may mean that that the directory '/extra/requesttracker/current/var/session_data' isn't writable or a database table is missing or corrupt.” Cause: The root cause behind occurrence of above error message is that the session_data table is either missing or corrupt. Resolution: To resolve the above error message and access the session_data table, you can follow these steps: • Create a new directory and move the MySQL database to that directory. To do so, follow these steps: mkdir /extra/var mkdir /extra/var/lib mv /var/lib/mysql /extra/var/lib/mysql ln -sn /extra/var/lib/mysql /var/lib/mysql • Next, you need to restart the MySQL database by using the below command: service mysqld restart If you find the table corruption even after moving the database files, then you need to follow these steps to repair the table: • Check the mysql database for the table named “RT4” by using the below command: mysqlcheck -u root -h localhost RT4 -p • After checking, fix the mysql database table “RT4” by using this command: mysqlcheck -r -u root -h localhost RT4 -p • Finally, recheck the mysql repaired table “RT4” by using the following command: mysqlcheck -u root -h localhost RT4 -p However, if you encounter the same error message even after following the above steps, then you should use advanced MySQL Database Repair software. Such MySQL Repair tools use advanced scanning methods to repair and restore MySQL database objects. With easy-to-use interface and illustrated plus user-friendly documentation, these repair tools are easily to implement. Article Directory: http://www.articledashboard.com Stellar Phoenix Database Recovery For MySQL is the foremost MySQL Repair tool. It supports both MySQL storage engines - MyISAM and InnoDB. It can restore and www.repair-mysql-database.com>Repair MySQL components like tables, primary key(s) and relations. It is compatible with MySQL 5.x. It supports Windows Vista, XP, 2003 and 2000. It also supports Windows based recovery from MySQL database installed on Linux platform. |
|
© 2005-2011 Article Dashboard