move try/except for mysqldb into the single_to_multisite migration command