Python MySQLdb Programming Error: 1064 when inserting data
问题 I have this list info=[[u' Rasta.eon 2 - 1 Rasta.Xd ', u'Razer CS:GO Tournament 2', u'26-02-2014'], [u' XPC 1 - 2 WP.GG ', u'Roccat DotA 2 Tournament', u'26-02-2014']] conn= MySQLdb.connect(host='localhost',user='root',passwd='',db='ee') c = conn.cursor() query = "INSERT INTO todaysmatches (match,tournamentname,matchdate) VALUES (%s,%s,%s)" c.executemany(query, info) conn.commit() conn.close() when I try to execute the query I get this error ProgrammingError: (1064, "You have an error in your