MySQL failed to start and the error message: '[InnoDB] Cannot allocate memory for the buffer pool' was output
Issue
- The server's physical memory is 16GB. But when setting MySQL's
innodb_buffer_pool_sizefrom 4GB to 8GB, MySQL failed to start and output the error message:'[InnoDB] Cannot allocate memory for the buffer pool'.
Environment
- Red Hat Enterprise Linux 8
- MySQL8.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.