mysqldump parser. inspired by https://bitbucket.org/cdtmydp/mydp