问题描述:
查看MySQL进程的状态:
[[email protected] lib]# service mysqld status
mysqld is stopped
发现是关闭的,但是启动MySQL却报错
[[email protected] lib]# service mysqld start
Another MySQL daemon already running with the same unix socket.
解决方法:将mysql.sock备份一下,然后重新启动
mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak
问题解决
时间: 2024-10-06 14:55:58