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

Fatal error: Uncaught Error: Call to undefined function mysql_error() in /home/inflxo5ro4i7/public_html/db.php:4 Stack trace: #0 /home/inflxo5ro4i7/public_html/news.php(3): include() #1 {main} thrown in /home/inflxo5ro4i7/public_html/db.php on line 4