Remember the big pit of CentOS to start MySQL once

The big pit of starting MySQL on the CentOS8 virtual machine:

  1. I always get an error when starting up. I tried many methods, but the configuration file was changed and changed again, but it was still useless;
  2. Re-create a new virtual machine and still report an error;
  3. Later, I saw it in the output error message and “out of memory”realized that it might be caused by insufficient memory. MySQL cannot be started when the memory is 1GB. Allocate enough memory to the virtual machine before starting. It is normal

This error is very small, but it has been done for a long time. You should pay attention to the output log in the future.

Guess you like

Origin blog.csdn.net/qq_27198345/article/details/111470469