Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the [ERROR] XX is marked as crashed and should be repaired problem in MySQL

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to solve the [ERROR] XX is marked as crashed and should be repaired problem in MySQL". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the [ERROR] XX is marked as crashed and should be repaired problem in MySQL".

Error log:

2016-05-30 10:28:03 23241 [ERROR] / usr/sbin/mysqld: Table'. / mysql/event' is marked as crashed and should be repaired

There is a problem with the event table in the mysql library that needs to be fixed

You can use the myisamchk tool to help you restore the index of the data table

[root@mysql mysql] # find /-name myisamchk

/ usr/bin/myisamchk

[root@mysql mysql] # / usr/bin/myisamchk-c-r / data/DB/mysql/mysql/event.MYI

-recovering (with sort) MyISAM-table'/ data/DB/mysql/mysql/event.MYI'

Data records: 8

-Fixing index 1

Restart the database solution

Thank you for your reading, the above is the content of "how to solve the [ERROR] XX is marked as crashed and should be repaired problem in MySQL". After the study of this article, I believe you have a deeper understanding of how to solve the [ERROR] XX is marked as crashed and should be repaired problem in MySQL, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report