initial version of the mysql dump script