So, the thing is that I was messing around with directories to backup and I delete the folder /var/lib/mysql and now i cant connect to my database gettin this error (I'm using plesk panel):

**ERROR: PleskFatalException Unable to connect to database: mysql_connect() [function.mysql-connect]: No such file or directory

0: common_func.php3:153 psaerror(string 'Unable to connect to database: mysql_connect() [function.mysql-connect]: No such file or directory') 1: auth.php3:116"**

¿Anyone knows a way to recover the files?

closed as off-topic by sciurus, Rob Moir, Bill Weiss, mdpc, MikeyB Apr 30 '14 at 3:04

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – sciurus, Rob Moir, Bill Weiss, MikeyB
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    Restore from backup? – Håkan Lindqvist Apr 29 '14 at 17:38
  • 1
    On the bright side, your backups will be really fast now. :-/ – ceejayoz Apr 29 '14 at 17:55
  • InnoDB or MyISAM? – akuzminsky Apr 29 '14 at 18:04
  • 1
    We have contacted the devs regarding your account. – Sven Sep 13 '17 at 8:23

I don't think there's much to say here bar reach for your backups.

Not the answer you're looking for? Browse other questions tagged or ask your own question.