MySQL error './ivr/t_cdr ' is marked as crashed and should was repaired when doing LOCK TABLES

Source: Internet
Author: User

This should be the case when running a business, MySQL database abnormal interruption caused the table exception, check the MySQL log error is as follows

[Email protected] opt]# tail-n5/var/log/Mysqld.log16082713: in: -[Error]/usr/libexec/mysqld:table'./ivr/t_cdr'  isMarked ascrashed and should be repaired16082713: in: +[Error]/usr/libexec/mysqld:table'./ivr/t_cdr'  isMarked ascrashed and should be repaired16082713: in: +[Error]/usr/libexec/mysqld:table'./ivr/t_cdr'  isMarked ascrashed and should be repaired16082713: +: +[Error]/usr/libexec/mysqld:table'./ivr/t_cdr'  isMarked ascrashed and should be repaired16082713: +: the[Error]/usr/libexec/mysqld:table'./ivr/t_cdr'  isMarked asCrashed and should be repaired

Check the information, use MYISAMCHK to repair the table, switch to the database date directory, execute the following command to repair the table MYI file

cd/var/lib/mysql/-F t_cdr. MYI

From for notes (Wiz)



MySQL error './ivr/t_cdr ' is marked as crashed and should being repaired when doing LOCK TABLES

Related Article

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.