[root@iZwz98m7yqiqoatk3bc39fZ ~]# systemctl start mysqld
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
linux服务器上Mysql启动报错,找了很多资料,查看Mysql日志如下:
[root@iZwz98m7yqiqoatk3bc39fZ ~]# tail -200f /var/log/mysqld.log
2022-03-25T18:15:52.462587Z 0 [ERROR] InnoDB: mmap(137428992 bytes) failed; errno 12
2022-03-25T18:15:52.462593Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
2022-03-25T18:15:52.462599Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2022-03-25T18:15:52.462608Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2022-03-25T18:15:52.462613Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2022-03-25T18:15:52.462618Z 0 [ERROR] Failed to initialize builtin pl