The MySQL database was initialized with a hint of Perl and data missing::d umper
You need to install two packages at this time,
Yum Install Perl
Yum Install autoconf
Prompt InnoDB database file size error when initializing MySQL database
2018-08-28 18:01:51 26794 [ERROR] innodb:auto-extending data file./ibdata1 is of a different size 768 pages (round Ed down to MB) than specified in the. CNF file:initial 131072 pages, max 0 (relevant if non-zero) pages!2018-08-28 18:01: Wuyi 26794 [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 is, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, and did not yet with them in any. But is careful:do not remove old data files which contain your precious data!2018-08-28 18:01:51 26794 [ERROR] Plugin ' in Nodb ' init function returned error.2018-08-28 18:01:51 26794 [ERROR] Plugin ' InnoDB ' registration as a STORAGE ENGINE fail ed.2018-08-28 18:01:51 26794 [ERROR] unknown/unsupported storage engine:innodb2018-08-28 18:01:51 26794 [ERROR] Aborting
This is because there are other MY.CNF files in the system. It is possible to specify the initialization file my.cnf as soon as it is initialized.
/opt/mysql/scripts/mysql_install_db--datadir=/data/mysqldata/3306/data--basedir=/opt/mysql--defaults-file= '/ DATA/MYSQLDATA/3306/MY.CNF ' Installing MySQL system tables ... 2018-08-28 18:04:30 0 [Note]/opt/mysql/bin/mysqld (mysqld 5.6.31-log) starting as Process 26865 ... Okfilling Help Tables ... 2018-08-28 18:05:03 0 [Note]/opt/mysql/bin/mysqld (mysqld 5.6.31-log) starting as Process 26889 ... OKto start mysqld at boot time has to copysupport-files/mysql.server to the right place for your systemplease Remembe R to SET A PASSWORD for the MySQL root USER! To does, start the server, then issue the following commands:/opt/mysql/bin/mysqladmin-u root password ' new-password ' /opt/mysql/bin/mysqladmin-u root-h mysql01 password ' new-password ' Alternatively you can run:/OPT/MYSQL/BIN/MYSQL_SECU Re_installationwhich would also give you the option of removing the testdatabases and anonymous user created by default. This isstrongly recommended for production servers. See the Manual for MOre instructions. You can start the MySQL daemon with:cd. ; /opt/mysql/bin/mysqld_safe &you can test the MySQL daemon with mysql-test-run.pl CD mysql-test; Perl mysql-test-run.plplease Report No problems at Http://bugs.mysql.com/The latest information on MySQL is available On the web at Http://www.mysql.comSupport MySQL by buying support/licenses at Http://shop.mysql.comWARNING:Found Existin G Config file/opt/mysql/my.cnf on the system. Because This file might is in use, it is not replaced,but is used in bootstrap (unless you used--defaults-file) and when You later start the server. The new default Config file is created as/opt/mysql/my-new.cnf,please compare it with your file and take the changes you Need. Warning:default config file/etc/my.cnf exists on the systemthis file would be is read by Default by the MySQL Serverif you D O Want to use this, either remove it, or use the--defaults-file argument to Mysqld_safe when starting the server
Initializing MySQL database encountered some problems