Jump to content

Can't connect to local MySQL server through socket


Hafiz Usman

Recommended Posts

Hi every one thanks in advance to fixed my issue.

 

I am facing the problem "Can't connect to local MySQL server through socket".
I have try to resolve it in many way and after restart the mysql it is working but after few hours I am getting that problem again, please help me to resolved that.

 

Link to database cannot be established: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)

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...