Warning: mysqli_connect(): (HY000/2002): No such file or directory in /home/photogristnet/public_html/data/db.php on line 12

Fatal error: Uncaught Error: Call to undefined function mysql_error() in /home/photogristnet/public_html/data/db.php:15 Stack trace: #0 /home/photogristnet/public_html/profile.php(13): require_once() #1 {main} thrown in /home/photogristnet/public_html/data/db.php on line 15