zoukankan      html  css  js  c++  java
  • 执行查询报: Incorrect key file for table ‘test’; try to repair it

    报错信息如下:程序没有错误,但执行会报错,错误定在执行语句上

    查了一下资料

    网上的解决办法,亲试可用:


    mysql> use news;
    Database changed
    mysql> repair table news_detail;
    +------------------+--------+----------+----------+
    | Table            | Op     | Msg_type | Msg_text |
    +------------------+--------+----------+----------+
    | news.news_detail | repair | status   | OK       |
    +------------------+--------+----------+----------+
    1 row in set (0.37 sec)

    mysql> repair table news_category;
    +--------------------+--------+----------+----------+
    | Table              | Op     | Msg_type | Msg_text |
    +--------------------+--------+----------+----------+
    | news.news_category | repair | status   | OK       |
    +--------------------+--------+----------+----------+
    1 row in set (0.02 sec)

  • 相关阅读:
    rabbitMQ 的简单模式
    redis 的发布订阅
    redis 的管道操作
    redis 的其他常用操作
    redis 的链表操作
    redis 的哈希操作
    redis 的字符串操作
    redis 的数据类型
    Redis的基本操作
    day27 的笔记和day 25 的保持一致
  • 原文地址:https://www.cnblogs.com/sincoolvip/p/5762259.html
Copyright © 2011-2022 走看看