juanmlg Posted June 24, 2015 Share Posted June 24, 2015 (edited) I was reindexing the search and my prestashop went totally blank, front and back office. I turn on errors and show: Fatal error: Uncaught Link to database cannot be established: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) thrown in /home/XXXX/public_html/prestashop/store/classes/db/DbPDO.php on line 57 Can anybody help me? Thanks! Edited June 25, 2015 by juanmlg (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted June 24, 2015 Share Posted June 24, 2015 check with hosting, you may have gone over allowed resources for your hosting plan. Also from hosting, check that your mysql user is still defined and that you can access db via phpmyadmin. Link to comment Share on other sites More sharing options...
juanmlg Posted June 24, 2015 Author Share Posted June 24, 2015 check with hosting, you may have gone over allowed resources for your hosting plan. Also from hosting, check that your mysql user is still defined and that you can access db via phpmyadmin. I cant access to de db via phpmyadmin :| I have contacted hosting and they are checking it right now, I hope to be online soon without any loss. Thanks for your reply. Link to comment Share on other sites More sharing options...
El Patron Posted June 24, 2015 Share Posted June 24, 2015 please keep us updated. if you don't have solid back up plan, after this make sure it's done daily via hosting just so instances like this don't age you to much. fingers crossed. Link to comment Share on other sites More sharing options...
juanmlg Posted June 25, 2015 Author Share Posted June 25, 2015 The hosting have fixed it in some hours, I am waiting for a explanation about the issue but seems like all the databases "disappeared" from my hosting account. Now I will make a backup every 2-3 days, for avoid future problems 1 Link to comment Share on other sites More sharing options...
El Patron Posted June 25, 2015 Share Posted June 25, 2015 The hosting have fixed it in some hours, I am waiting for a explanation about the issue but seems like all the databases "disappeared" from my hosting account. Now I will make a backup every 2-3 days, for avoid future problems that's good new...yes back up back up back up...happy prestashopping Link to comment Share on other sites More sharing options...
Recommended Posts