Warning: mysqli_connect(): (HY000/2002): No such file or directory in /var/www/html/public_html/blog/db.php on line 2

Fatal error: Uncaught Error: Call to a member function prepare() on bool in /var/www/html/public_html/blog/post.php:4 Stack trace: #0 {main} thrown in /var/www/html/public_html/blog/post.php on line 4