This used to work, but something has changed (upgraded WebMatrix maybe?) - I have a WordPress / MySQL Windows 5.1 application that I created with Web Matrix 1 a while back that is happily running at my hoster. I have a relatively significant upgrade to make, so want to download the files and database and work locally, but the database download is failing. Any ideas? Here is how to reproduce:
On a clean Windows 7 machine, I downloaded Web Platform Installer, and then installed the latest version of Web Matrix.
I then opened my remote web site (WordPress 3.2.1) using my hoster-provider .PublishSettings file. This detected that I needed to install some dependencies, and did so: C++ Redist, PHP 5.3.19 for IIS Express, MySQL Windows 5.1 and WordPress.
The WordPress portion failed installation with this error:
Could not download the remote database. Please verify that the remote database is accessible.
The install log file is clean (or at least I don't see anything that looks helpful). And WebMatrix seems to have successfully downloaded my sites files - but of course not the database. Even the remote database is accessible - I can open the Databases pane and see all the tables and view data.
If I try Download again, it detects one file changed, wp-config.php, and of course the database (Download from MySQL). Clicking Continue results in the same error as above, however the log file available via the "more info" link is a little more helpful:
The utility to get the database script could not be found. Confirm that the target machine has it installed.
Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#MySqlDumpNotFound.
Object of type 'manifest' and path '<?xml ... with information referring to my remote mySQL database .../></MSDeploy.Continous>' cannot be created.
The 'mysqldump.exe' command is in the correct place - and in fact I can manually run it. So I think error message is a red-herring. It's that last error message that has me concerned: why is it trying to create a database on my remote server? Shouldn't it be doing that on my lcoal server (my download target machine)?
I've found hints that this may be an incompatiblity because SQL Server 2012 is installed? (that doesn't make sense) Or that WordPress won't work with the latest versions of PHP and MySQL for Windows?
Final piece of data: I can create a new (local) WordPress site just fine - it installs WordPress and creates my local database.
So my two leading theories are (1) the latest version of WebMatrix won't work with WordPress 3.2.1? or (2) something is busted in the transcoding of the wp-config.php file, leaving it (incorrectly) pointing at the remote server when it should have been edited to point to my local server.
Any other ideas I should be looking at?
Thanks in advance.