您的位置:首页 > 数据库 > MySQL

随笔记录 MYSQL 数据库操作数据表崩溃

2012-02-28 18:07 369 查看
表abc结构如下:

字段 类型 长度 PK  NotNull Unsigned AutoIncr

a  int 10 true true   true   true

b  int 10     true   true

c  int 10     true   true

执行SQL:

SQL code
INSERT INTO abc (b, c) VALUES (1, 2)


执行结果:

(1 row(s) affected)

Execution Time : 00:00:00:000

Transfer Time : 00:00:00:000

Total Time : 00:00:00:000

当再次读取表abc的数据时提示:

Table 'abc' is marked as crashed and should be repaired

表类型改为 InnoDB就好了 随笔记录稍后整理



http://topic.csdn.net/u/20110828/10/bfe0c75c-7657-4005-88bb-cfe3a7b48fb2.html

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐