我把另一个设备配置文件弄上来重启就好了,但是我没改配置文件啊,也许以前改了保存没重启?
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
[root@VM-0-17-centos ~]# systemctl status mysqld.service
● mysqld.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Thu 2021-11-18 18:13:06 CST; 12s ago
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Process: 24592 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=1/FAILURE)
Process: 24570 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)
Main PID: 2049 (code=exited, status=0/SUCCESS)
Nov 18 18:13:06 VM-0-17-centos systemd[1]: Failed to start MySQL Server.
Nov 18 18:13:06 VM-0-17-centos systemd[1]: Unit mysqld.service entered failed state.
Nov 18 18:13:06 VM-0-17-centos systemd[1]: mysqld.service failed.
Nov 18 18:13:06 VM-0-17-centos systemd[1]: mysqld.service holdoff time over, scheduling restart.
Nov 18 18:13:06 VM-0-17-centos systemd[1]: Stopped MySQL Server.
Nov 18 18:13:06 VM-0-17-centos systemd[1]: start request repeated too quickly for mysqld.service
Nov 18 18:13:06 VM-0-17-centos systemd[1]: Failed to start MySQL Server.
Nov 18 18:13:06 VM-0-17-centos systemd[1]: Unit mysqld.service entered failed state.
Nov 18 18:13:06 VM-0-17-centos systemd[1]: mysqld.service failed.
[root@VM-0-17-centos ~]#