MySQL table ' XXX ' is marked as crashed and last (automatic?) Problem Solving Method _mysql

Source: Internet
Author: User
The Web site's MYSQL database error appears as follows:
Copy Code code as follows:
Table '. \dede_archives ' is marked as crashed and last (automatic?)

The problem is that the related table is corrupted and, in general, you can fix the table with phpMyAdmin.
If you are a stand-alone server, you can also repair it by using the command-line method. Stop the MySQL service before fixing it:
Copy Code code as follows:
/etc/init.d/mysqld stop

Then perform the following command (reference) to repair the table:
Copy Code code as follows:
Myisamchk-r/usr/local/mysql/var/dede/dede_archives. Myi

Note the path where the database table resides. Win host can be analogous to the execution.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.