Add script to convert mysql automagically.

Change-Id: If99440e111e4fa4dd993ab382eecec94f6d14180