Jump to content

[SOLVED] Fatal error after search Reindex, please help


Recommended Posts

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 by juanmlg (see edit history)
Link to comment
Share on other sites

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

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 :)
  • Like 1
Link to comment
Share on other sites

 

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

×
×
  • Create New...