Warning : mysqli_real_connect (): (HY000 / 2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1653 No such file or directory Error connecting to the database This means either the username or password in your file wp-config.phpis not correct, or we cannot contact the database server at localhost. It may mean that your database server has fallen. Are you sure you are using the correct username and password? Are you sure you entered the correct hostname? Are you confirming that the database server is running? If you are unsure about these terms, you should probably contact your web host. If you still need help, you can always head to the WordPress Support Forums .