Table of Contents [+/-]
This section reviews a simple migration script and assumes some familiarity with the GRT shell. If you haven't yet done so, read Chapter 10, The Generic Runtime Environment (GRT) Shell.
As noted earlier in Section 9.17, “The Summary Screen”, if you choose, you can generate a migration script when migrating a database. Doing this creates a Lua script of the entire migration process. You can find out more about Lua by going to lua.org. However, if you have some familiarity with programming you should be able to make sense of this script without too much effort.
The MySQL Migration Toolkit supports Lua version 5.0. Version 5.1 is not supported.
For a better understanding of the migration script, it is useful to
have the GRT shell open within the MySQL Migration Toolkit. In this way
you can examine the various objects created during migration by
clicking on them in the Globals Tree panel. To save the application
state and have access to these objects, migrate a database as
described in Chapter 9, The Migration Process In-Depth, and
when you reach the Summary
step, choose the menu
options File, Store current application
state .... This will save an XML file of the entire
migration process. You can now reload the migration state whenever
you wish.