【MySQL】InnoDB: Error: checksum mismatch in data file 报错

参考:http://www.jb51.net/article/66951.htm

用5.7版本启动原5.5实例后,再用5.5启动出现以下报错

InnoDB: Error: checksum mismatch in data file /data/mysql/ibdata1
160627 10:42:11 InnoDB: Could not open or create data files.
160627 10:42:11 InnoDB: If you tried to add new data files, and it failed here,
160627 10:42:11 InnoDB: you should now edit innodb_data_file_path in my.cnf back
160627 10:42:11 InnoDB: to what it was, and remove the new ibdata files InnoDB created
160627 10:42:11 InnoDB: in this failed attempt. InnoDB only wrote those files full of
160627 10:42:11 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
160627 10:42:11 InnoDB: remove old data files which contain your precious data!
160627 10:42:11 [ERROR] Plugin ‘InnoDB‘ init function returned error.
160627 10:42:11 [ERROR] Plugin ‘InnoDB‘ registration as a STORAGE ENGINE failed.
160627 10:42:11 [ERROR] Unknown/unsupported storage engine: InnoDB
160627 10:42:11 [ERROR] Aborting

160627 10:42:11 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

通过参数可以跳过错误启动,导出数据

innodb_force_recovery=6

innodb_purge_thread=0

时间: 2024-10-12 04:44:03

【MySQL】InnoDB: Error: checksum mismatch in data file 报错的相关文章

mysql从库Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file'报错处理

年后回来查看mysql运行状况与备份情况,登录mysql从库查看主从同步状态 1 mysql> show slave status\G; 2 *************************** 1. row *************************** 3 Slave_IO_State: 4 Master_Host: 101.200.*.* 5 Master_User: backup 6 Master_Port: 3306 7 Connect_Retry: 60 8 Master_

mysql:执行LOAD DATA LOCAL 报错

mysql:执行LOAD DATA LOCAL 报错. 我使用navicat for mysql 连接 mysql服务器执行local 可以正常执行 . show VARIABLES like  '%local%infile%'结果如下:+---------------+-------+| Variable_name | Value |+---------------+-------+| local_infile  | ON    | +---------------+-------+1 row

MySQL 5.7 Invalid default value for 'CREATE_TIME'报错的解决方法

出处:http://blog.itpub.net/15498/viewspace-2136006/ 由于数据库的升级,今天在执行从MySQL 5.6导出来的SQL文件时报错: mysql> source cms_user.sqlQuery OK, 0 rows affected (0.00 sec) Query OK, 0 rows affected, 1 warning (0.04 sec) ERROR 1067 (42000): Invalid default value for 'CREA

如何解决部署Win10出现的Could not find the unattend file报错?

如何解决使用Symantec ITMS部署Win10出现的Could not find the unattend file报错? ?Lander Zhang 专注外企按需IT基础架构运维服务,IT Helpdesk 实战培训践行者http://blog.51cto.com/lander 2018/11/22 7:40 问题描述 我们很多客户批量部署系统一般都是使用微软的自家的SCCM,但是这家客户全球标准都是使用Symantec ITMS解决方案.在给 DELL i3-7380部署系统时开始拷贝

Python“Non-ASCII character 'xe5' in file”报错问题(转)

今天在编译一个Python程序的时候,一直出现"Non-ASCII character 'xe5' in file"报错问题 1 SyntaxError: Non-ASCII character '\xe5' in file kNN.py on line 24, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 出现问题的原因: Python默认是以ASCII作为编码方式的,如果

yum安装出现Error: database disk image is malformed报错

使用yum安装gcc命令时,电脑意外重启,恢复虚拟机后再次使用yum安装gcc出现报错信息 Error: database disk image is malformed 报错原因是之前意外结束安装进程之前已经产生了缓存 使用yum重新安装的时候首先要清除缓存,使用yum clean all命令 yum clean all 清除yum缓存,使用yum安装软件包时yum把下载的软件包和header存储在cache中,进程意外中断后之前下载的内容不会自动删除,我们需要先清空缓存后再重新下载.当然,如

关于MySql升级JDBC架包导致时区问题报错(The server time zone value '?й???????' is unrecognized or represents more than one time zone)

报错信息: The server time zone value '?й???????' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want

【mysql】 load local data infield 报错 ERROR 1148 (42000): The used command is not allowed with this MySQL version

mysql> load data local infile '/Users/flint/learn/mysql/pet' into table bx_pet; 执行报错 ERROR 1148 (42000): The used command is not allowed with this MySQL version 解决办法: 在连接数据库的时候使用 mysql --local-infile -uroot -p 连接即可 原文地址:https://www.cnblogs.com/china-

mysql在导入大数据库的时候,报错ERROR 2006 (HY000): MySQL server has gone away

或者,报错信息: ERROR 2005 (HY000): Unknown MySQL server host '10997107101114' (0)ERROR:Can't connect to the server No connection. Trying to reconnect... ======================= 解决办法: mysql> show global variables like 'max_allowed_packet'; mysql> set globa