Warning: mysqli::__construct(): (HY000/2002): No such file or directory in /var/www/html/resto/v8/sushikyo_net/system/library/db/mysqli.php on line 7

Fatal error: Uncaught Error: Call to undefined function DB\mysql_error() in /var/www/html/resto/v8/sushikyo_net/system/library/db/mysqli.php:10 Stack trace: #0 /var/www/html/resto/v8/sushikyo_net/system/library/db.php(9): DB\MySQLi->__construct() #1 /var/www/html/resto/v8/sushikyo_net/system/framework.php(25): DB->__construct() #2 /var/www/html/resto/v8/sushikyo_net/index.php(26): require_once('/var/www/html/r...') #3 {main} thrown in /var/www/html/resto/v8/sushikyo_net/system/library/db/mysqli.php on line 10