I’m in the process of switching webhosts this weekend – moving from my old reseller hosting, which I rarely resell, to a new package on MediaTemple. I used this site as a test for moving WordPress sites from one to the other, and everything seemed to go smoothly. I transferred the files, got the database imported and switched nameservers on the domain last night before I went to bed.
This morning, when I checked the site, I was greeted with a blank page. The problem, it turned out, was that I had the Database Host set incorrectly in my wp-config file. MediaTemple is the first host I’ve used where the default of ‘localhost’ didn’t work. What you need to use is the ‘Internal DB Hostname’ – you’ll find it in your (mt) account settings.
Thought I’d blog it – partly as a reminder to me and partly in case anybody else meets the same issue.