Title: Cannot Reach wp-admin
Last modified: June 2, 2020

---

# Cannot Reach wp-admin

 *  [canercelik](https://wordpress.org/support/users/canercelik/)
 * (@canercelik)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/)
 * Hello there,
 * My web site is working well for the readers. All modules are working, multi language
   is working, there’s no problem on the surface.
 * But when I try to reach wp-admin page, I got
 * >  This page isn’t working.
   >  bilimneguzellan.net redirected you too many times.
   > Try clearing your cookies. ERR_TOO_MANY_REDIRECTS
 * error.
 * When I try refreshing the page, error changes.
 * >  Warning: mysqli_query(): MySQL server has gone away in /var/www/html/wp-includes/
   > wp-db.php on line 2026
   > Warning: mysqli_query(): Error reading result set’s header in /var/www/html/
   > wp-includes/wp-db.php on line 2026
   > Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /var/www/
   > html/wp-includes/wp-db.php on line 1626
   >  Connection refused
   > Error reconnecting to the database
   >  This means that we lost contact with the
   > database server at 127.0.0.1. This could mean your host’s database server is
   > down.
   > Are you sure the database server is running?
   >  Are you sure the database server
   > is not under particularly heavy load? If you’re unsure what these terms mean
   > you should probably contact your host. If you still need help you can always
   > visit the WordPress Support Forums.
 * I have been searching for a solution for manys days, at the end, I decided to
   ask you about it.
 * PS : There’s no problem with the MariaDB response time and no conflict about 
   version.
 * When you visit the website, you can clearly reach all the content.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-reach-wp-admin-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12928968)
 * Ask your host, and look at the apache logs.
 * Check your htaccess file :
 * > [htaccess](https://wordpress.org/support/article/htaccess/)
 * Check with all your plugins disabled. Especially WordFence.
 * Install an SSL on your site.
 * Fix these errors :
 * > [View post on imgur.com](https://imgur.com/a/BQFN1of)
 * Check your site_url and site_home settings :
    [https://www.inmotionhosting.com/support/edu/wordpress/wordpress-changing-the-site-url-and-home-settings/](https://www.inmotionhosting.com/support/edu/wordpress/wordpress-changing-the-site-url-and-home-settings/)
 *  [a2hostingrj](https://wordpress.org/support/users/a2hostingrj/)
 * (@a2hostingrj)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12928975)
 * Do you remember when it started to happen? Did you install a plugin lately?
 *  Thread Starter [canercelik](https://wordpress.org/support/users/canercelik/)
 * (@canercelik)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12928995)
 * I remember it very vell 🙂
    It happened after the migration from Digital Ocean
   VPS to Vultr.
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12929000)
 * So did you ask them ?
    [https://my.vultr.com/support/create_ticket/](https://my.vultr.com/support/create_ticket/)
 *  Thread Starter [canercelik](https://wordpress.org/support/users/canercelik/)
 * (@canercelik)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12929057)
 * Apache Status results as below :
 * > Jun 02 18:12:42 bngl phpMyAdmin[8089]: user denied: root (mysql-denied) from
   > 172.69.10.198
   >  Jun 02 18:16:03 bngl phpMyAdmin[8089]: user denied: phpmyadmin(
   > no-activity) from 46.196.94.166 Jun 02 18:25:13 bngl phpMyAdmin[8153]: user
   > denied: root (mysql-denied) from 162.158.165.12 Jun 02 18:38:07 bngl phpMyAdmin[
   > 8550]: user denied: root (mysql-denied) from 172.68.102.136 Jun 02 19:01:40
   > bngl phpMyAdmin[9441]: user denied: root (mysql-denied) from 172.68.244.80 
   > Jun 02 19:15:06 bngl phpMyAdmin[9711]: user denied: root (mysql-denied) from
   > 162.158.7.181 Jun 02 19:27:27 bngl phpMyAdmin[9875]: user denied: root (mysql-
   > denied) from 172.69.134.125 Jun 02 19:28:18 bngl phpMyAdmin[9878]: user denied:
   > root (mysql-denied) from 162.158.183.121 Jun 02 19:40:44 bngl phpMyAdmin[10452]:
   > user denied: root (mysql-denied) from 162.158.183.229 Jun 02 20:39:24 bngl 
   > phpMyAdmin[13483]: user denied: marcio.map.roots (mysql-denied) from 172.68.246.124
 * Also, I changed plugins folder’s name to the plugins_old. So, all the plugins
   are inactive now.
 * .htaccess as below :
 * > <IfModule mod_rewrite.c>
   >  RewriteEngine On RewriteBase / RewriteRule ^index\.
   > php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   > d RewriteRule . /index.php [L] </IfModule>
 * SSL side : I installed and enabled SSL via `sudo certbot --apache` command.
 * Errors caused by xlith.net are not related to the issue. It was an open source
   analytics software.
 * Edits on wp-config.php and DataBase didn’t solve the issue (which referred : 
   [https://www.inmotionhosting.com/support/edu/wordpress/wordpress-changing-the-site-url-and-home-settings/](https://www.inmotionhosting.com/support/edu/wordpress/wordpress-changing-the-site-url-and-home-settings/)
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12929077)
 * root and this guy marcio.map.roots are denied.
    Connect your db using mysql with
   the credentials from your wp-config file. Make sure that user is GRANTed all 
   access privileges to your db. [https://www.vultr.com/docs/troubleshooting-wordpress-database-errors](https://www.vultr.com/docs/troubleshooting-wordpress-database-errors)
 *  Thread Starter [canercelik](https://wordpress.org/support/users/canercelik/)
 * (@canercelik)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12929112)
 * After reinstallation of ssl certificate, somehow the site is completely gone 
   🙂
 * I tried the database repair method, problem is not related to database, at least
   when I put `define( 'WP_ALLOW_REPAIR', true );` in wp-config.php file and run
   the address, WordPress couldn’t find DB related issue.
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12929126)
 * Ask Vultr how to force redirect on the SSL settings. Or put it in your htaccess
   file.
 *  Thread Starter [canercelik](https://wordpress.org/support/users/canercelik/)
 * (@canercelik)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12929173)
 * I created a ticket, hope this works. ^_^
 *  Thread Starter [canercelik](https://wordpress.org/support/users/canercelik/)
 * (@canercelik)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12929228)
 * I deactivated Cloudflare, I will use Vultr’s DNS services first then I will change
   htaccess content according to my needs.
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12929383)
 * Great.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Cannot Reach wp-admin’ is closed to new replies.

## Tags

 * [db connection error](https://wordpress.org/support/topic-tag/db-connection-error/)
 * [too many redirect](https://wordpress.org/support/topic-tag/too-many-redirect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 3 participants
 * Last reply from: [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/cannot-reach-wp-admin-2/#post-12929383)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
