Switch MySQL-python to PyMySQL