MySQL错误代码:1030Got错误-1从存储引擎;我试图从我的数据库删除数据 [英] MySQL Error Code: 1030Got error -1 from storage engine; I've tried to delete data from my database

查看:273
本文介绍了MySQL错误代码:1030Got错误-1从存储引擎;我试图从我的数据库删除数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含一些表的数据库,当我要使用此查询从包含自动增量字段的表中删除数据时:

I have a database including some tables, when I want to delete data from tables which includes an "Auto Increment" field, using this query:

delete from test.table1 ;

我遇到此错误:

 Error Code: 1030Got error -1 from storage engine

?我应该怎么办?

推荐答案

尝试更改 innodb_force_recovery 您的 /etc/my.cnf )。

错误-1 说没有。没有你的表创建代码( SHOW CREATE TABLE table_name )不能说明问题在哪里。

Error -1 says NOTHING. Without your tables creation code (SHOW CREATE TABLE table_name) can not say where exactly problem is.

这篇关于MySQL错误代码:1030Got错误-1从存储引擎;我试图从我的数据库删除数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆