Windows Server 2012 R2 Upgrade and WordPress

Last weekend I decided to upgrade all of my virtual servers to Windows Server 2012 R2 from 2012.  The process was pretty straightforward…

  • Mount the ISO
  • Launch the setup
  • Allow the installation check for incompatibilities and updates
  • Upgrade

Everything went smooth, or so i thought.  When the server launched for the first time I was getting database errors on my self hosted WordPress site.  I had a mini panic attack thinking my blog and database were lost and then started digging.  I found that the MySQL service was not registered.  Easy enough.  I found documentation on the MySQL site:


First stop the server/process if it is running.  I added a -p to the command to prompt for password. Who uses a MySQL database without a root password anyway? (Be sure to change the MySQL version in the commands below if you aren’t using 5.6)

Then register the service

Now check for the service in listed in the services applet

You will see MySQL listed and set to automatic.  Go ahead and start it.  Bingo!  Wordpress back online.

Now I don’t have to worry about launching the process at startup or setting scheduled task or trigger, it’s back to the way it was before the upgrade!

Lifted from the MySQL documentation site:



One thought on “Windows Server 2012 R2 Upgrade and WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.