2021-12-08 19:47:57 3748 [Note] Plugin 'FEDERATED' is disabled. 2021-12-08 19:47:57 3748 [Warning] option 'innodb-buffer-pool-size': signed value 50 adjusted to 5242880 2021-12-08 19:47:57 3748 [Note] InnoDB: Using atomics to ref count buffer pool pages 2021-12-08 19:47:57 3748 [Note] InnoDB: The InnoDB memory heap is disabled 2021-12-08 19:47:57 3748 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2021-12-08 19:47:57 3748 [Note] InnoDB: Memory barrier is not used 2021-12-08 19:47:57 3748 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-12-08 19:47:57 3748 [Note] InnoDB: Using Linux native AIO 2021-12-08 19:47:57 3748 [Note] InnoDB: Using CPU crc32 instructions 2021-12-08 19:47:57 3748 [Note] InnoDB: Initializing buffer pool, size = 5.0M 2021-12-08 19:47:57 3748 [Note] InnoDB: Completed initialization of buffer pool 2021-12-08 19:47:57 3748 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 0 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages! 2021-12-08 19:47:57 3748 [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! 2021-12-08 19:47:57 3748 [ERROR] Plugin 'InnoDB' init function returned error. 2021-12-08 19:47:57 3748 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2021-12-08 19:47:57 3748 [ERROR] Unknown/unsupported storage engine: InnoDB 2021-12-08 19:47:57 3748 [ERROR] Aborting 2021-12-08 19:47:57 3748 [Note] Binlog end 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'partition' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_FIELDS' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_INDEXES' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_TABLES' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_CONFIG' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_DELETED' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_METRICS' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE' 2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
#添加/etc/my.cnf中下面配置重新启动mysql
[mysqld] default-storage-engine=MYISAM default-tmp-storage-engine=MYISAM default_storage_engine 表示永久表(permanent tables)的默认存储引擎。 default_tmp_storage_engine 表示临时表的默认存储引擎。



