2018-02-26 17:32:36 29714 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2018-02-26 17:32:36 29714 [ERROR] Plugin 'InnoDB' init function returned error.
2018-02-26 17:32:36 29714 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-02-26 17:32:36 29714 [ERROR] Unknown/unsupported storage engine: InnoDB
2018-02-26 17:32:36 29714 [ERROR] Aborting
2018-02-26 17:32:36 29714 [Note] Binlog end
2018-02-26 17:32:36 29714 [Note] /usr/sbin/mysqld: Shutdown complete
[root@sdcue mysql]# echo $?
141
[root@sdcue mysql]#
大神们,求救了,小弟在此谢谢了。
初始化mysql 老是不对,
执行的是这俩步:
1.修改配置文件位置
cp /usr/share/mysql/my-default.cnf /etc/my.cnf
2.初始化MySQL
/usr/bin/mysql_install_db
谢谢谢谢谢谢,天空飘来5个字那都不是问题。