上午mysql出现了问题,很纠结,最后找到了原因,原因是内存不够用;
190925 9:25:01 [Note] Plugin ‘FEDERATED’ is disabled.
190925 9:25:01 InnoDB: The InnoDB memory heap is disabled
190925 9:25:01 InnoDB: Mutexes and rw_locks use GCC atomic builtins
190925 9:25:01 InnoDB: Compressed tables use zlib 1.2.7
190925 9:25:01 InnoDB: Using Linux native AIO
190925 9:25:01 InnoDB: Initializing buffer pool, size = 1.0G
InnoDB: mmap(1098907648 bytes) failed; errno 12
190925 9:25:01 InnoDB: Completed initialization of buffer pool
190925 9:25:01 InnoDB: Fatal error: cannot allocate memory for the buffer pool
190925 9:25:01 [ERROR] Plugin ‘InnoDB’ init function returned error.
190925 9:25:01 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
190925 9:25:01 [ERROR] Unknown/unsupported storage engine: InnoDB
190925 9:25:01 [ERROR] Aborting
190925 9:25:01 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete