robev Posted June 23, 2016 Posted June 23, 2016 After the MySQL crash I changed my cPanel password, was able to get back into phpMyAdmin. My Wordpress database was still there in tact, but all of the tables were renamed from to something else for some reason. I renamed them all back, and the "cannot connect to database" error went away, but then my website simply failed to load anything. I realized I was supposed to delete and recreate my database users, which I did, and reassigned them to the database. I used the same password as configured in Wordpress. Still nothing. I checked the cPanel error logs and saw this: [Thu Jun 23 07:09:43 2016] [error] [client 37.26.147.148] client denied by server configuration: /home/robev/public_html/blog/wp-admin/install.php So for some reason the server is rejecting me. I looked online and it recommended checking the .htaccess file if there's any restrictions, and there are none. Is this on your end or mine?
wolstech Posted June 28, 2016 Posted June 28, 2016 For me, the blog on your site redirects in an infinite loop. I would recommend dropping your database, recreating a new one with a different name and restoring your backup into that database. After that, assign the user to the database, and edit wp-config.php to use the new database.
wolstech Posted June 30, 2016 Posted June 30, 2016 Glad to hear you got it working Feel free to let us know if you need anything else.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now