Feb-03-2017, 06:10 PM
Ok, so it looks like you're only using those variables as sort of config values, since you never modify them. Why not eliminate them entirely, define the values in python, and pass them to .execute()?
OR, you can try passing
https://dev.mysql.com/doc/connector-pyth...ecute.html
OR, you can try passing
multi=True
to .execute():https://dev.mysql.com/doc/connector-pyth...ecute.html