Cannot insert data in mysql-database: 'ValueError: Could not process parameters'

Cannot insert data in mysql-database: 'ValueError: Could not process parameters'

我有一个这样的列表:

prices= [',999', ',499', ',000', ',000', ',600', ',999', ',200', ',975']

我想像这样将此列表插入数据库:

sql = "INSERT INTO abc (a) VALUES (%s)"
mycursor.executemany(sql, prices)

但是我得到了错误,为什么?

 ValueError: Could not process parameters

将列表转换为元组列表:

pricesTuples = [(p,) for p in prices]