If you obtain an error when you start mysql-server
like :
Another MySQL daemon already running with the same unix socket.
Fallow that :
1) At first, we need to delete file socket create by mysql-server
PHP Code:
rm -f /var/lib/mysql/mysql.sock
2) Now, we try to stop then, if he started.
PHP Code:
service mysqld stop
3) Give again permissions on mysql files.
PHP Code:
chown -R mysql:root /var/lib/mysql
4) Restart Mysql-server
PHP Code:
service mysqld start
Now the error is fixed, but can be return, so save this
pdf .
Cordialy Roxas.