I Have a problem on a server. I just installed lsapi and it broke all websites using MySQL - they can't connect.
I used the instructions here...
I'm using EasyApache 3 and alt-php is configured with native PHP drivers.
Added debug to a wordpress site to see what's happening...
Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /home/REMOVED/http://domain.com/wp-includes/wp-db.php on line 1538
Warning: mysql_connect(): No such file or directory in /home/REMOVED/http://domain.com/wp-includes/wp-db.php on line 1568
Error establishing a database connection
All sites using MySQL can't connect.
So I've run this...
And it didn't fix anything immediately. I recompiled apache with suphp also. After a few minutes everything is now back to normal.
I'd like to know why this happened and how to prevent it.
I've noticed mention of it being related to the MySQL socket.