0

I just finished a website and wanted to backup tonight but I suddenly got:

mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

database is refusing to connect, what can I do? Anyone has previous experience with this issue? Is there a way to fix it without loosing my data?

Sara Kat
  • 378
  • 2
  • 19

0 Answers0