Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已解决] discuz7.2 pid 字段被修改 和 字段被删除 的字段 不能完整修复

[复制链接]
tiaomu 发表于 2011-1-25 11:53:02 | 显示全部楼层 |阅读模式
本帖最后由 tiaomu 于 2011-1-25 11:58 编辑

存在错误字段的数据表 (为了保证论坛的正常运行,请立即修复以下标有 字段被修改字段被删除 的字段)
cdb_posts 错误的字段正确的字段状态
pid int(10) unsigned NOT NULL default '' pid int(10) unsigned NOT NULL auto_increment字段被修改



点击修复后   出现



数据库修复成功,但仍有 21 个数据字段修复失败,请返回。

Incorrect table definition; there can be only one auto column and it must be defined as a key
 楼主| tiaomu 发表于 2011-1-25 12:01:24 | 显示全部楼层
回复

使用道具 举报

baxter 发表于 2011-1-25 12:05:14 | 显示全部楼层
回复 tiaomu 的帖子

用PHPMYADMIN修复一下
回复

使用道具 举报

 楼主| tiaomu 发表于 2011-1-25 12:14:25 | 显示全部楼层
本帖最后由 tiaomu 于 2011-1-25 12:23 编辑

字段问题吧?  我看phpmyadmin 没有和原始的统一。怎么修复?

我是从dv8.2转过来的 。
错误SQL 查询:
ALTER TABLE `cdb_posts` CHANGE `pid` `pid` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0' AUTO_INCREMENT
MySQL 返回:
#1067 - Invalid default value for 'pid'

回复

使用道具 举报

 楼主| tiaomu 发表于 2011-1-25 12:27:16 | 显示全部楼层
修复cdb_post时出现   The storage engine for the table doesn't support repair
回复

使用道具 举报

fdrezujytf10 发表于 2011-1-25 12:57:24 | 显示全部楼层
支持一下楼主!
             顶顶顶顶顶顶顶顶顶顶顶。。。。。。。。。!!!!!!!!!!!!!!!!!!!!











-----------------------------------------------------------------------------------------
Early to bed, early to rise, make a man healthy, wealthy, and wise. ugg cardy  ugg Tall  ugg short  ugg Mini  UGG Bailey Button Triplet
回复

使用道具 举报

huihui0103 发表于 2011-1-25 16:17:15 | 显示全部楼层
tiaomu 发表于 2011-1-25 12:27
修复cdb_post时出现   The storage engine for the table doesn't support repair

重新转一下吧 貌似有很多问题
回复

使用道具 举报

baxter 发表于 2011-1-25 17:42:38 | 显示全部楼层
回复 tiaomu 的帖子

如果有DV8.2的备份,重新转换一下即可
回复

使用道具 举报

 楼主| tiaomu 发表于 2011-2-26 10:22:12 | 显示全部楼层
感谢各位:解决方法,重新转换搞定。
回复

使用道具 举报

wintop 发表于 2011-2-26 10:57:21 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-10-2 06:03 , Processed in 0.110974 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表