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

来源:互联网 发布:广数车床g76编程视频 编辑:程序博客网 时间:2024/04/27 21:38
表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

原创粉丝点击