MySQL on CENTOS 7

Rafael Amores3 years ago

I try install MySQL on CENTOS 7, but have the issue.

2021-03-21T23:35:59.548582Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.23)  MySQL Community Server - GPL.
2021-03-21T23:44:24.412672Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (my sqld 8.0.23) starting as process 20209
2021-03-21T23:44:24.502580Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2021-03-21T23:44:24.531287Z 0 [ERROR] [MY-012681] [InnoDB] mmap(136970240 bytes) failed; errno 12
2021-03-21T23:44:24.531529Z 1 [ERROR] [MY-012956] [InnoDB] Cannot allocate memory for the buffer pool
2021-03-21T23:44:24.531627Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2021-03-21T23:44:24.531728Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2021-03-21T23:44:24.536646Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2021-03-21T23:44:24.536972Z 0 [ERROR] [MY-010119] [Server] Aborting
2021-03-21T23:44:24.549013Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.23)  MySQL Community Server - GPL.
Diego Marchesini3 years ago

Cuanta memoria libre tiene el servidor?.
Fíjate cambiando el tamaño de buffer de mysql (etc/my.cnf).