cur.execute("INSERT INTO messages (`timestamp`, `provider_timestamp`, `source_number`, `dest_number`, `cost`, `body`)VALUES(%s, %s, %s, %s, %s, %s)",(int(time.time()),'2017-01-12 12:12:32Z','7505551212','8185551212','0.0040','hi there baby how are you?'))