Symptom of table corruption
A typical symptom of a damaged table is as follows:1. When selecting data from a table, you get the following error:Incorrect key file for table: ' ... '. Try to repair it2. The query cannot find rows in the table or
Is the database will inevitably error, out of the wrong will certainly need to repair.
phpMyAdmin is a good MySQL management tool that has a repair function for a table in a database. But when this table is no longer able to open it does not see
REPAIR table Syntax
REPAIR table ' table_name ' repair form
REPAIR table is used to repair damaged tables
Using in Linux
REPAIR TABLE ' table_name ' pre_forum_thread
Tips
Xt.pre_forum_thread Repair Error 1 when fixing table
One: MySQL myisam table damage Reason summary:
1, the server suddenly power off causing data file corruption, forced shutdown, did not first shut down the MySQL service; the mysqld process was killed while writing the table.2, disk damage.3, the
I. Summary of the causes of MyISAM Table Corruption in MySQL:
1. The data file is damaged due to a sudden power failure on the server. The mysql service is forcibly shut down without being shut down first. The mysqld process is killed when writing a
1. Table Damage Reason analysis
The following are common causes of MySQL table corruption:1, the sudden loss of power to the server caused data file corruption.2, forced shutdown, did not first shut down the MySQL service.3. The mysqld process was
In the PHP + MySQL background, some program pages do not display content. An error is prompted and must be fixed. Open phpmyadmin and select the database. Three tables are displayed as "in use ". After selecting the check box, "repair table" will be
It is a common problem to have a database error with MySQL (the best combination of PHP) with a power outage or an abnormal shutdown. There are two ways, one way to use the SQL statements of Check table and repair table for MySQL (and the best
Mysql packaging table prompts in phpmyadmin that it is in use. phpmyadmin
BitsCN.com
1. use phpmyadmin to modify the TABLE. repair table 'Your TABLE name' or directly on the database management interface, select a TABLE, as shown in figure
2.
Let's analyze the problem first.
A typical symptom of a damaged table is as follows:1. When selecting data from a table, you get the following error: Incorrect key file for table: ' ... '. Try to repair it2. The query cannot find rows in the table
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.