Servidores VPS & Dedicado

ERRO: Another MySQL daemon already running with the same unix socket.

# /etc/init.d/mysqld start
Another MySQL daemon already running with the same unix socket.
Iniciando o mysqld:  [FALHOU]

Resolvendo…

# cd /var/lib/mysql/
# mv mysql.sock mysql.sock.bak
# /etc/init.d/mysqld start
Iniciando o mysqld:  [  OK  ]

Status do serviço:

# ps aux |grep mysqld
root      1582  0.4  0.0 106064  1480 hvc0     S    09:51   0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql
mysql     1684  1.2  1.0 441536 20000 hvc0     Sl   09:51   0:00 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock
root      1710  0.0  0.0 103252   888 hvc0     S+   09:51   0:00 grep mysqld

 177 total views,  2 views today

Artigos relacionados