mysql碰到一个奇怪的问题,执行查询没有语法错误,但是抛异常:
java.sql.SQLException: Got error 134 from storage engine
错误原因
Even though the MyISAM
table format is very reliable (all changes to a table made by an SQL statement are written before the statement returns), you can still get corrupted tables if any of the following events occur:
-
The mysqld process is killed in the middle of a write.
-
An unexpected computer shutdown occurs (for example, the computer is turned off).
-
Hardware failures.
-
You are using an external program (such as myisamchk ) to modify a table that is being modified by the server at the same time.
-
A software bug in the MySQL or
MyISAM
code.
Typical symptoms of a corrupt table are:
-
You get the following error while selecting data from the table:
Incorrect key file for table: '...'. Try to repair it
-
Queries don't find rows in the table or return incomplete results.
来自:
http://dev.mysql.com/doc/refman/5.0/en/corrupted-myisam-tables.html
解决:
CHECK TABLE 表名
REPAIR TABLE 表名
转载
相关推荐
然而,当你尝试执行一个依赖于InnoDB存储引擎的SQL文件时,如果系统报出“Error: Unknown storage engine 'InnoDB'”的错误,这意味着MySQL服务器无法识别或不支持InnoDB引擎。这通常是由于MySQL配置不当或InnoDB...
MySQL 5.6 InnoDB Storage Engine Architecture
SequoiaSQL - MySQL Storage Engine is a distributed MySQL storage engine. It currently supports SequoiaDB 3.x as the backend database, and it will be extended to multiple databases such like MongoDB/...
在my.ini(linux下/etc/my.cnf)加上skip-...看下mysql目录的错误日志: 引用 090613 10:15:27 [ERROR] Default storage engine (InnoDB) is not available 090613 10:15:27 [ERROR] Aborting 090613 10:15:27 [Note] C:\...
innodb storage engine architecture innodb存储引擎架构
user: ‘root’ host: `localhost’ (Got timeout reading communication packets) MYSQL server has gone away 引起这个原因是不可怕的.原因是更改了系统的断开时间. mysql>show gloable variables like “%time...
其中,`condition_name`是你为异常起的名称,`condition_type`则指明异常的类型,通常用`SQLSTATE`或`mysql_error_code`来指定具体的错误代码。`SQLSTATE`是一个5字符的字符串,而`mysql_error_code`是MySQL的数字...
本次异常的具体描述为:“Communications link failure due to underlying exception: **BEGINNESTED EXCEPTION** java.io.EOFException STACK TRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully...
连接64位的mysql,即使把mysql安装目录下的libmysql.dll放到qt安装目录bin路径下,也是无法连接数据库。网上给出的做法是下载Qt对应版本的源码,重新编译。这种方法复杂繁琐,且容易编译失败。这里提供了mysql官方给...
### MySQL Error 1405 解决方案详解 在日常使用MySQL数据库的过程中,可能会遇到各种错误提示,其中Error 1405(访问被拒绝,因为用户名或密码不正确)是一个较为常见的问题。本文将从该错误产生的原因入手,详细...
环境变量配置错误 mysql 命令行错误 ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: N
在进行MySQL数据库操作时,可能会遇到“Failed to read auto-increment value from storage engine”这样的错误提示。此错误通常发生在尝试向设置了自动增长(AUTO_INCREMENT)属性的字段插入数据时。 #### 二、...
MySQL Error Code 文档手册 MySQL 错误代码是 MySQL 数据库管理系统中的一个重要组成部分,它用于记录和描述 MySQL 数据库在运行过程中可能出现的各种错误信息。了解 MySQL 错误代码对于数据库管理员和开发人员来...
### 安装高版本MySQL与解决Error 2003及Error Nr.1364 #### 一、概述 本文将详细介绍如何安装高版本的MySQL,并针对在安装过程中可能出现的Error 2003(无法连接到MySQL服务器)及Error Nr.1364(字段...
【MySQL启动报错问题InnoDB:Unable to lock/ibdata1 error】是一个常见的MySQL服务器启动时遇到的问题。这个问题通常表明MySQL的InnoDB存储引擎无法获取对`ibdata1`文件的锁,`ibdata1`是InnoDB用来存储数据和系统表...
在使用ODBC(Open Database Connectivity)连接MySQL数据库时,可能会遇到“ERROR [IM002] [Microsoft][ODBC 驱动程序管理器] 未发现数据源名称并且未指定默认驱动程序”的异常。这个错误通常表示系统无法找到有效的...