Tongda OA repair MySQL's specified data sheet

Source: Internet
Author: User
* * Accessibility OA mail error:
Table '. \td_oa\email_body ' is marked as crashed and should be repaired

D:\MYOA\mysql5\bin\myisamchk.exe-c-R D:\MYOA\data5\TD_OA\email_body. MYI

The above instructions are for repairing the data table.
The Myisamchk tool will help you to restore the index of the data table, and without restarting MySQL, the problem will be solved. **

--MYOA Database configuration--
$MYSQL _server= "localhost:3336";
$MYSQL _user= "root";
$MYSQL _db= "Td_oa";
$MYSQL _pass= "myoa888";

Insert data Directive for table according to date criteria
SELECT from email_body WHERE from_unixtime (send_time) < ' 2018-8-22 00:00:00 ' ORDER by Send_time DESC
INSERT into Email_body SELECT
from email_body20180726 WHERE from_unixtime (send_time) < ' 2018-7-26 00:00:00 '

Tongda OA repair MySQL's specified data sheet

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.