Updated MySQL, 500 Internal Server Error
-
We tried to move our WordPress site from our dev.domain.uk address to just domain.uk. We contacted the upstream DNS and updated the records to point from the old server to the new one, then logged in to the WP Control panel and changed the url from dev.domain.uk to domain.uk. Things started to go downhill from there and we weren’t able to access the vast majority of our content due to ridiculous WAN routing rules.
Other posts on the WP forums indicated you could use PHPMyAdmin to modify the database and change the address, so that was the plan. So I downloaded and extracted PHPMyAdmin with the intention of reverting to dev.domain.uk and login with the details I set up whilst setting up WordPress (Which it turns out are NOT the details stored in the wp-config.php file). PHPMyAdmin then informed me I needed to update to MySQL5.5.0 or higher.
So, I downloaded and installed MySQL 5.5.42, which is apparently the latest version, uninstalled the older version and restarted the server. PHPMyAdmin now says the credentials are incorrect (using both the ones I used at WordPress setup and the ones in wp-config.php) and what’s worse, I’m getting HTTP 500 errors when trying to access the site (from both its IP from another machine and https://localhost/ from the server)
Wipe 5.5.42, revert to 5.1.73 (as 5.1 was the original version on there), remove PHPMyAdmin – no dice. Still getting HTTP 500 errors. I’ve reverted the entire WordPress directory back to its latest backup (which was at 1am this morning, way before any of these changes were made) and yet still I’m getting HTTP 500.
Some Google searching has recommended ‘checking the database is correct’ but from what I can gather WordPress doesn’t actually use a central database (and there isn’t a whole lot of documentation about it, either..) so that hasn’t really helped a great deal.
I’ve re-downloaded wordpress and copied all the files out, then replaced the WP-Content and wp-config.php with files from the backup. Still no cigar.
At a complete loss now. Anybody battled similar situations?
Windows 2012 R2 on VMware (x64) with IIS, 4GB RAM, 2.40GHz CPU, WordPress 4.1.1, MySQL 5.1.73/5.5.42
- The topic ‘Updated MySQL, 500 Internal Server Error’ is closed to new replies.