Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /ec2nfs/swdb/html2/mysql.php on line 122 Error: Unable to connect to MySQL. Debugging errno: 2002 Debugging error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /ec2nfs/swdb/html2/mysql.php on line 128 Could not connect: