Windows XAMPP error 500
29 Aug 2011Last week, I installed XAMPP on a brand new Windows 2008 server, with the sole purpose of running production servers with PHP and MySQL.
One of the websites I copied over, was a WordPress CMS. I imported the database and made the user credentials. All good.
Then I tried going to this wordpress website, and I received a lovely ERROR 500. Nothing was showing in the error log, nor the access logs. I was completely mystified.
Then, when looking at the user credentials for MySQL, I noticed a difference between the ‘pma’ user and the ‘wordpress’ user – the ‘wordpress’ user had a wildcard (as to expect a connection from any machine) which effectively broke the server, outputting an error that explained nothing.
I’ve posted this in case anybody else has the same problem. Triple check your user permissions for connecting to MySQL.
(I blame Windows for being ghey)
Tags: 500, error, error 500, mysql, PHP, server 2008, windows, Windows Server 2008, xampp