主机的MySQL数据库上不去了,显示了下面的问题
[root@VM-4-15-centos ~]# sudo systemctl status mysql # Ubuntu/Debian
● mysqld.service - LSB: start and stop MariaDB
Loaded: loaded (/etc/rc.d/init.d/mysqld; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2024-09-18 10:08:26 CST; 1min 30s ago
Docs: man:systemd-sysv-generator(8)
Process: 7938 ExecStart=/etc/rc.d/init.d/mysqld start (code=exited, status=1/FAILURE)
Sep 18 10:08:24 VM-4-15-centos systemd
[1]: Starting LSB: start and stop MariaDB...
Sep 18 10:08:24 VM-4-15-centos mysqld
[7938]: Starting MariaDB.240918 10:08:24 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
Sep 18 10:08:24 VM-4-15-centos mysqld
[7938]: 240918 10:08:24 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql
Sep 18 10:08:26 VM-4-15-centos mysqld
[7938]: ./etc/rc.d/init.d/mysqld: line 264: kill: (7954) - No such process
Sep 18 10:08:26 VM-4-15-centos mysqld
[7938]: ERROR!
Sep 18 10:08:26 VM-4-15-centos systemd
[1]: mysqld.service: control process exited, code=exited status=1
Sep 18 10:08:26 VM-4-15-centos systemd
[1]: Failed to start LSB: start and stop MariaDB.
Sep 18 10:08:26 VM-4-15-centos systemd
[1]: Unit mysqld.service entered failed state.
Sep 18 10:08:26 VM-4-15-centos systemd
[1]: mysqld.service failed.
[root@VM-4-15-centos ~]# sudo systemctl start mysql
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
提交了问题很快工程师就帮忙解决了 效率很高很靠谱!