具体原因如下:
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
然后呢,我把my.cnf里面的
default-character-set=utf8mb4
这一行去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉去掉。
就好了。
好像只需要character-set-server=utf8mb4 这一行就行了,和windows不一样。