|
|
楼主 |
发表于 2025-7-27 08:45:20
|
显示全部楼层
你好,按第一步操作下面提示,后续进行不了
┌──(root㉿kaili24-2)-[~]
└─# systemctl status mysql
× mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; disabled; preset: disabled)
Active: failed (Result: exit-code) since Sat 2025-07-26 15:13:52 CST; 2min 57s ago
Docs: man:systemd-sysv-generator(8)
Process: 615040 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
CPU: 4.390s
7月 26 15:13:52 kaili24-2 /etc/init.d/mysql[618106]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc>
7月 26 15:13:52 kaili24-2 /etc/init.d/mysql[618106]: [52B blob data]
7月 26 15:13:52 kaili24-2 systemd[1]: mysql.service: Control process exited, code=exited, status=1/FAILURE
7月 26 15:13:52 kaili24-2 mysql[615040]: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
7月 26 15:13:52 kaili24-2 /etc/init.d/mysql[618106]: error: 'Can't connect to local MySQL server through socket '/va>
7月 26 15:13:52 kaili24-2 systemd[1]: mysql.service: Failed with result 'exit-code'.
7月 26 15:13:52 kaili24-2 /etc/init.d/mysql[618106]: Check that mysqld is running and that the socket: '/var/run/mys>
7月 26 15:13:52 kaili24-2 systemd[1]: Failed to start mysql.service - LSB: Start and stop the mysql database server >
7月 26 15:13:52 kaili24-2 /etc/init.d/mysql[618106]:
7月 26 15:13:52 kaili24-2 systemd[1]: mysql.service: Consumed 4.390s CPU time, 1.9M memory peak, 0B memory swap peak.
lines 1-17/17 (END)
┌──(root㉿kaili24-2)-[~]
└─# systemctl start mysql
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xeu mysql.service" for details.
|
|