Problem Description MySQL reports an error when starting. Check the error log. [ERROR] InnoDB: Cannot allocate memory for the buffer pool (Memory required by the InnoDB engine cannot be allocated from the cache pool) Solution You need to adjust the size settings of innodb_buffer_pool_size and key_buffer_size in the MySQL configuration file my.cnf, and increase the memory allocation appropriately, generally adjusted to half of the system memory. First use free -m to check the system memory size and check that it is 1G memory Then Note: my.cnf is subject to the actual configuration file path. Restart OK Summarize The above is the full content of this article. I hope that the content of this article can bring some help to your study or work. If you have any questions, you can leave a message to communicate. Thank you for your support of 123WORDPRESS.COM. You may also be interested in:
|
<<: Sample code on how to implement page caching in vue mobile project
>>: Architecture and component description of docker private library Harbor
Transtion in vue is an animation transition enca...
Let’s build the data table first. use test; creat...
Table of contents 502 bad gateway error formation...
The optimization created by MySQL is to add index...
Table of contents Solution 1: Copy the transfer c...
There are many tags and elements in the HTML head ...
GitHub has all kinds of magic tools. Today I foun...
Table of contents Preface NULL in MySQL 2 NULL oc...
This article example shares the specific code of ...
This article shares the data display code for Jav...
Table of contents Preface Core code File shows pa...
Today I had some free time to write a website for...
Table of contents The browser's rendering mec...
1. When to execute setUp We all know that vue3 ca...
Table of contents Avoid using the spread operator...