Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/currency-calculator/public_html/_db_connect.php on line 2

Fatal error: Call to a member function error() on a non-object in /home/currency-calculator/public_html/_db_connect.php on line 3