Transfer WAMP (MySQL database) to a new server
Posted by:
ChrisBedford
(41.183.0.---)
Date: July 19, 2012 11:04AM
Hi all
I previously posted about this difficulty, but have managed with help from this forum and various other sources to get a bit past the original problem... a very little bit.
Situation: WAMP5 1.7.2 (Yeah, I know, old, but apparently the php code doesn't take kindly to upgrading) running on Windows Server 2003 (Web Edition).
Requirement: Back up system, restore it to the same machine reformatted under Server 2003 64-bit to take advantage of larger memory capability - i.e. like in a disaster recovery scenario.
Turns out that every method I use to dump the database, leads to errors when I try to import / restore that database on my identical new machine. The error messages don't really make much sense and getting them interpreted proved to me more of a challenge than I would have believe possible. But eventually by comparing the results of a restored database with the original one, I found that several Views in the original database are being saved as Tables, and the various utilities / MySQL itself are barfing when trying to create those "Tables" and / or when coming across references to non-existent Views.
So the question is, of all the methods of dumping a MySQL database, which one(s) is/are going to be able to export the Views separately from the Tables and in such a way that the database can be reconstructed on a clean WAMP installation? And preferably a dump method that can be run unattended, e.g. as part of a scheduled backup? More specifically, how do I accomplish this export?
Chris