1, systemctl start mysqld startup error
2, follow the prompts: systemctl status mysqld.service
3, view the log: cat /var/log/mysqld.log found error:
2019-06-26T10:12:30.404834Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-character-set=utf8'.
2019-06-26T10:12:30.405100Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-06-26T10:12:32.074917Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.16) MySQL Community Server - GPL.
4, open vim /etc/my.cnf
Be substituted with character_set_server = utf8 default-character-set = utf8 solve this problem