Warning: mysqli_connect(): (HY000/2002): No such file or directory in /home2/national/public_html/inc/db.inc on line 2

Fatal error: Uncaught Error: Call to undefined function mysql_error() in /home2/national/public_html/inc/db.inc:2 Stack trace: #0 /home2/national/public_html/products/product-category/single/index.php(5): require() #1 {main} thrown in /home2/national/public_html/inc/db.inc on line 2