Question:
I have a strange error when starting mysqld service:
1 2 3 |
Another MySQL daemon already running with the same unix socket. |
I’ve tried to list running services and stopping them but the same error happens when starting mysqld service.
Answer:
Approach 1: shutdown service
1 2 3 |
# shutdown -h now |
Approach 2 if approach 1 does not work:
1 2 3 |
# rm /var/lib/mysql/mysql.sock |
Then restart MySQL service.
1 2 3 |
# service mysqld start |
I love it when folks get together and share ideas.
Great site, keep it up!