Warning: mysqli_connect(): (HY000/2002): No such file or directory in /home/booknation/public_html/booklists/phpclass.php on line 7

Fatal error: Uncaught Error: Call to a member function set_charset() on bool in /home/booknation/public_html/booklists/phpclass.php:8 Stack trace: #0 /home/booknation/public_html/booklists/index.php(15): createConnection->connectToDatabase() #1 {main} thrown in /home/booknation/public_html/booklists/phpclass.php on line 8