dump logging and MySQL requirement

add logging to dump.py

and also add a requirement for MySQL-python