I have run a query in MySQL and I get a result back, while running it as a python script is giving me an error. I am unsure why this is happening. I am trying to get the sum of