MySQL启动时报Plugin 'InnoDB' registration as a STORAGE ENGINE failed.错误

当更改了MySQL参数后,重新启动MySQL数据库,查看日志发现以下错误信息

141029  2:23:37 [ERROR] Plugin ‘InnoDB‘ init function returned error.
141029  2:23:37 [ERROR] Plugin ‘InnoDB‘ registration as a STORAGE ENGINE failed.

解决办法

[[email protected] mysql]# ls
ibdata1  master.info    mysql-bin.000002  mysql-bin.000005     mysql-relay-bin.000027  mysql.sock
ib_logfile0  mysql         mysql-bin.000003  mysql-bin.000006     mysql-relay-bin.000028  relay-log.info
ib_logfile1  mysql-bin.000001  mysql-bin.000004  mysql-bin.log.index  mysql-relay-bin.index   test

将ib_logfile删除

[[email protected] mysql]# rm -rf ib_logfile*

重新启动mysql

[[email protected] mysql]# service mysqld restart
停止 mysqld:                                                [确定]
正在启动 mysqld:                                          [确定]

问题解决

MySQL启动时报Plugin 'InnoDB' registration as a STORAGE ENGINE failed.错误

时间: 2024-10-15 00:24:58

MySQL启动时报Plugin 'InnoDB' registration as a STORAGE ENGINE failed.错误的相关文章

解决mysql启动时报The server quit without updating PID file 的错误(转)

1.一般是权限问题,把用户和组改为mysql就可以了. chown -R mysql:mysql  /var/lib/mysql 2.在启动mysql时报下列错误 [[email protected] ~]# service mysql.server startStarting MySQL......................................The server quit without updating PID file (/var/lib/mysql/mysqld2.c

mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid)

mysql启动报错Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 查看mysql错误日志也没有写入. 最后发现是selinux打开,汗…… 参考 mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid)

mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 的解决方法

出现问题的可能性 1.可能是/opt/mysql/data/数据目录mysql用户没有权限(修改数据目录的权限) 解决方法 :给予权限,执行  "chown -R mysql.mysql /opt/mysql/data"  然后重新启动mysqld 2.可能进程里已经存在mysql进程 解决方法:用命令“ps -ef|grep mysqld”查看是否有mysqld进程,如果有使用“kill -9  进程号”杀死,然后重新启动mysqld! 3.可能是第二次在机器上安装mysql,有残余

Linux下MySql启动时报错

/opt/mysql/support-files/mysql.server startmy_print_defaults: [ERROR] Found option without preceding group in config file /opt/mysql/my.cnf at line 1!my_print_defaults: [ERROR] Fatal error in defaults handling. Program aborted!Starting MySQL. ERROR!

springboot打包启动时报mybatis的typeAlias类名找不到的错误

springBoot项目在IDEA上面正常但是打包之后运行 出错,错误大致为mybatis解析Mapper.xml时 typeAlias找不到XX类 Mapper里面的标签: <select parameterType="XXClass" resultMap="XXMap"> 这种写法在IDEA里面运行没问题 打包就有问题 正确写法: <select parameterType="cn.test.xxx.XXClass" res

升级 MySQL 至 5.5,报错 [ERROR] Plugin &#39;InnoDB&#39; init function returned error

MySQL 从 5.5 升级到 5.6,启动时报错: [ERROR] Plugin 'InnoDB' init function returned error. [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. [ERROR] Unknown/unsupported storage engine: InnoDB [ERROR] Aborting 原因:主要是没有正常关闭 mysqld 服务的情况下,对数据库参数进行改

MySQL Plugin &#39;InnoDB&#39; init function returned error

. . 在MySQL的配置文件中,设定default-table-type=InnoDB,发现MySQL无法正常的启动,错误日志中给出了如下的信息: 150210 18:11:19 mysqld_safe mysqld from pid file /data/mysqldata/mysql.pid ended150210 18:15:20 mysqld_safe Starting mysqld daemon with databases from /data/mysqldata150210 18

MYSQL启动报1067错误,系统日志中是“服务 mysql 意外停止” Mysql日志中则是:“Plugin \&#39;FEDERATED\&#39; is disabled”

MYSQL启动报1067错误,系统日志中是"服务 mysql 意外停止" Mysql日志中则是:"Plugin \'FEDERATED\' is disabled" 错误的具体内容是: 121012 11:35:03 [Note] Plugin 'FEDERATED' is disabled. 121012 11:35:03  InnoDB: Error: unable to create temporary file; errno: 2 121012 11:35:

mysql启动报错(1)——2个例子

第一次安装mysql,启动时报错 # /etc/init.d/mysqld start Starting MySQL.......The server quit without updating PID f[失败]tmp/mysql.pid). 查看日志 # tailf /data/mysqldb/log/mysql-error.log 160730 00:57:28 mysqld_safe Starting mysqld daemon with databases from /data/mys