Install mysql8 in centos8 environment by using yum. The following error messages are reported:
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
Because VIM/etc/my.cnf file Is configured before installation, specifying the directory /var/log/mysqld.log
The actual log directory is /var/log/MySQL/mysqld.log
After modifying the directory, restart OK