Today i restarted mysql service in my machine. It stopped but not starting
[root@backup-server ~]# service mysqld stop
Stopping mysqld: [ OK ]
[root@backup-server ~]# service mysqld start
Another MySQL daemon already running with the same unix socket.
Starting mysqld: [FAILED]
Just I rename the mysql.sock file after that it is working fine.
[root@backup-server ~]# mv /var/lib/mysql/mysql.sock /var/lib/mysq /mysql.sock.bak
[root@backup-server ~]# service mysqld start
Starting mysqld: [ OK ]
My issue resolved...
[root@backup-server ~]# service mysqld stop
Stopping mysqld: [ OK ]
[root@backup-server ~]# service mysqld start
Another MySQL daemon already running with the same unix socket.
Starting mysqld: [FAILED]
Just I rename the mysql.sock file after that it is working fine.
[root@backup-server ~]# mv /var/lib/mysql/mysql.sock /var/lib/mysq /mysql.sock.bak
[root@backup-server ~]# service mysqld start
Starting mysqld: [ OK ]
My issue resolved...
No comments:
Post a Comment