MySQL failed to start and the error message: '[InnoDB] Cannot allocate memory for the buffer pool' was output

Solution Verified - Updated -

Issue

  • The server's physical memory is 16GB. But when setting MySQL's innodb_buffer_pool_size from 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content