I have an Ubuntu 14.04 instance running the LAMP stack. Everything was working fine. Yesterday all of a sudden, the server started denying access to login via root. After a couple of trials, I gained access to the system. To my realisation, dpkg directory had some issues which I fixed by manually making folders. Still the application did not start. Upon further investigation, I noticed that
MySQL - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
was being displayed on the application home page. Going further, I found out that the entire MySQL data along with the logs had disappeared. I don't know what is wrong!! Kindly help with solutions.
8 Reset to default