虚拟主机域名注册-常见问题数据库问题 → MySQL


win2003服务器 mysql数据表修复方法
作者:系统管理员

        确保mysql处于开启状态

        在cmd命令提示符中输入:

        mysql -u root -p

        弹出Enter password: 

        输入密码

        再进入到数据表中如:tougao这个数据表,则输入:

        use tougao

        回车

        再输入要修复的数据表如qb_article这个表:

        repair table qb_article;回车

        下面是命令操作截图:

        

        

        C:\Documents and Settings\Administrator.EBS-29827.000>mysql -u root -p

        Enter password: ********

        Welcome to the MySQL monitor.  Commands end with ; or \g.

        Your MySQL connection id is 428

        Server version: 5.1.71-community-log MySQL Community Server (GPL)

        Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

        Oracle is a registered trademark of Oracle Corporation and/or its

        affiliates. Other names may be trademarks of their respective

        owners.

        Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

        mysql> use tougao

        Database changed

        mysql> repair table qb_article;

        



来源: 网络
阅读:1873
日期:2016-06-07

推荐朋友 】 【 评论 】  【 字体: 】 
上一篇:是否提供发票?如何索取?
下一篇:网页排版模块功能介绍
  >> 相关文章
 
发表评论


点  评: 字数0
用户名:  密码:

  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款