try: import pymysql pymysql.install_as_MySQLdb() except ImportError: pass
Base.metadata.create_all(create_engine('This://'))