#!/bin/bash
sed 's/TYPE=MyISAM/ENGINE=MyISAM/g;  
    s/timestamp([0-9]*)/timestamp/g;  
    s/TYPE=InnoDB/ENGINE=MyISAM/g;  
    s/ENGINE=InnoDB/ENGINE=MyISAM/g;  
    s/varchar(25.)/varchar(245)/g;
    s/CHARSET=latin1/CHARSET=utf8mb4/g;
    s#^/\*M!999999\\- enable the sandbox mode \*/##g   
   '
