Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/sfg/public_html/sfgfunctions.php on line 16

Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home/sfg/public_html/sfgfunctions.php on line 16
I cannot connect to the database because: