mysql = create_engine('mysql://user:%restofthepassword@host:3306/db') result = mysql.execute("select * from some_table") And I ...