MySQL files have been deleted all of a sudden

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

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like