mysql编译安装完启动时候报错
2017-03-10 17:16
447 查看
[root@host2 mysql]# /etc/init.d/mysqld start
Starting MySQL. ERROR! The server quit without updating PID file (/tmp/mysql.pid).
[root@host2 mysql]# tail -f data/host2.err
InnoDB: Error: log file ./ib_logfile0 is of different size 0 4194304 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
170310 17:06:48 [ERROR] Plugin 'InnoDB' init function returned error.
170310 17:06:48 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170310 17:06:48 [ERROR] Unknown/unsupported storage engine: InnoDB
170310 17:06:48 [ERROR] Aborting
170310 17:06:48 [Note] /application/mysql/bin/mysqld: Shutdown complete
170310 17:06:48 mysqld_safe mysqld from pid file /application/mysql/data/host2.pid ended
说函数误差
解决方法:
把data下面的ib_logfil文件删除即可
[root@host2 mysql]# rm -f data/ib_logfile0
[root@host2 mysql]# rm -f data/ib_logfile1
[root@host2 mysql]# rm -f data/ib_logfil2
Starting MySQL. ERROR! The server quit without updating PID file (/tmp/mysql.pid).
[root@host2 mysql]# tail -f data/host2.err
InnoDB: Error: log file ./ib_logfile0 is of different size 0 4194304 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
170310 17:06:48 [ERROR] Plugin 'InnoDB' init function returned error.
170310 17:06:48 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170310 17:06:48 [ERROR] Unknown/unsupported storage engine: InnoDB
170310 17:06:48 [ERROR] Aborting
170310 17:06:48 [Note] /application/mysql/bin/mysqld: Shutdown complete
170310 17:06:48 mysqld_safe mysqld from pid file /application/mysql/data/host2.pid ended
说函数误差
解决方法:
把data下面的ib_logfil文件删除即可
[root@host2 mysql]# rm -f data/ib_logfile0
[root@host2 mysql]# rm -f data/ib_logfile1
[root@host2 mysql]# rm -f data/ib_logfil2
相关文章推荐
- mysql 编译安装启动
- mysql 5.6 免安装,启动的时候存在的问题
- linux mysql安装,启动及报错解决
- mysql-5.7.12-winx64安装的时候无法启动服务问题
- linux用源码安装mysql的时候编译报错的解决方法
- 编译安装mysql5.6后启动报错
- mysql编译安装完成后,启动时报错The server quit without updating PID file
- [mysql]编译安装报错CMake Error: your C compiler: "CMAKE_C_COMPILE
- PHP编译安装时候的报错
- Mac的xampp mysql 无法启动和安装时候的坑
- Linux(centos) 编译安装 Mysql 后配置开机自动启动
- 在mysql 安装后可以启动 bin-log 功能,以记录数据库的数据操作的记录,必要时候恢复数据,
- MySQL-5.1.72 安装编译过程及报错解决
- 在mac osx10.6下安装mysql后,启动总是报错ERROR 2002 (HY000): Can't connect to local MySQL ser
- mysql-5.7.12-winx64安装的时候无法启动服务问题
- mysql 5.1.73 免编译安装 -----mysqld_multi 启动报错
- win8.1安装mysql56版本的时候出现服务无法启动
- Mac下自己编译安装的MySQL启动方法速记
- 记一次mysql编译安装和无法正常启动
- mysql5.7.17在windows下安装启动的时候提示不成功