Mysql fails to start after server crash

To start the MySQL service, you can remove '/var/lib/mysql/mysql.sock' and start the MySQL service again:

  1. Remove the socket file:

    [root@server ~]# rm /var/lib/mysql/mysql.sock
    rm: remove socket `/var/lib/mysql/mysql.sock'? yes
    
  2. Start the MySQL service:

    [root@server~]# service mysqld start
    

Was this answer helpful?

 Print this Article

Also Read

Change backup folder location

Backup folder can be changed using the Plesk reconfigurator, available from the windows start...

Backup Databases

To back up a database: 1. Go to Domains > domain name > Backup Manager -> Database...

How to select new SSL Certificate in Plesk 8.4

Once the certificate has been installed.... Select Client/My Domains/IP pool Select the IP...

Domain not configured for www

In Plesk Panel select the domain CLick on 'Domain Administration' dropdown and select 'Rename...

How to delete log files in Plesk

If your log files are taking up too much space, you may want to consider deleting them. However,...