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

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