Add mysql support in `dump.php`

See https://github.com/welaika/wordmove/pull/62 for more info.