Warning: mysqli_connect(): (HY000/2002): No such file or directory in /var/www/html/old/inc/mysql.class.php on line 7

Warning: mysqli_error() expects exactly 1 parameter, 0 given in /var/www/html/old/inc/mysql.class.php on line 7