MySQL社区

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
查看: 5119|回复: 5
打印 上一主题 下一主题

谁来帮我看看问题出在哪?谢谢!

[复制链接]
1#
发表于 2008-1-4 23:38:28 | 显示全部楼层
你的语句看了,没有问题,在我的环境下运行了,是可以的,如下图:


提示:怀疑是你磁盘没有空间了...
2#
发表于 2008-1-6 01:13:50 | 显示全部楼层
有关系!
3#
发表于 2008-1-16 16:32:07 | 显示全部楼层
讲的对,原理就是这样的,分不同的表类型,分别对待。

060218 16:08:56  InnoDB: Error: table `db1/tb5` already exists in InnoDB internal
InnoDB: data dictionary. Have you deleted the .frm file
InnoDB: and not used DROP TABLE? Have you used DROP DATABASE
InnoDB: for InnoDB tables in MySQL version <= 3.23.43?
InnoDB: See the Restrictions section of the InnoDB manual.

如下也是一种解决办法:
先创建一个,再来删除!
InnoDB: You can drop the orphaned table inside InnoDB by
InnoDB: creating an InnoDB table with the same name in another
InnoDB: database and copying the .frm file to the current database.
InnoDB: Then MySQL thinks the table exists, and DROP TABLE will
InnoDB: succeed.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|申请友链|小黑屋|Archiver|手机版|MySQL社区 ( 京ICP备07012489号   
联系人:周生; 联系电话:13911732319

GMT+8, 2024-6-13 21:09 , Processed in 0.069895 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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