Suddenly having db connection issues
Wonder if I can get any assistance. My WordPress install suddenly is showing:
Error establishing a database connection
I’ve created a test file to check the connection and it returns this error:
Could not connect: Can’t connect to local MySQL server through socket ’/var/run/mysqld/mysqld.sock’ (111)
We’re using the usual “localhost” as host. Any suggestions? I’m trying to figure it out.
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.×