I received the following error:
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (111)
So after restarting the server and trying to figure out what was going on I tried reinstalling mysql with this: apt-get install mysql-server
Then I restarted apache and still keep getting the same error message.
What could be causing this? Can anyone point me in the right direction to trouble shoot this issue?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!