Changing the dump system to mysqldump query