Jump to content

Missing mysql.sock file


mychildr

Recommended Posts

dear all, 

 

i can't remember whether i deleted the file accidentally or what i had done to cause the file missing while i was doing some cleanup for my directory.

i got this error suddenly and i have no idea how to regenrate this file. i have try install the prestashop again but it did not help. i also try to restore my backup but the same error appear when i tried to load my website. 

 

may i know what command i can use in phpmyadmin to regenerate this file? 

 

below are the error message.

Link to database cannot be established: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 "No such file or directory")

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...